Prefixed all page titles with "TRACKS::" to make them more obvious when you have several windows open. Fixes ticket:15 suggested by timfm.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@51 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
bsag 2005-03-30 08:54:28 +00:00
parent 5fc3636f72
commit 7c814b5131
4 changed files with 11 additions and 10 deletions

View file

@ -18,7 +18,7 @@ class ContextController < ApplicationController
end
def list
@page_title = "List Contexts"
@page_title = "TRACKS::List Contexts"
@contexts = Context.find_all( conditions = nil, "position ASC", limit = nil )
end
@ -57,7 +57,7 @@ class ContextController < ApplicationController
def edit
expire_action(:controller => "context", :action => "list")
@context = Context.find(@params['id'])
@page_title = "Edit context: #{@context.name.capitalize}"
@page_title = "TRACKS::Edit context: #{@context.name.capitalize}"
end
@ -80,7 +80,7 @@ class ContextController < ApplicationController
def show
@context = Context.find_by_name(@params["id"].humanize)
@projects = Project.find_all
@page_title = "Context: #{@context.name.capitalize}"
@page_title = "TRACKS::Context: #{@context.name.capitalize}"
@not_done = Todo.find_all( "context_id=#{@context.id} AND done=0", "created ASC" )
@count = Todo.count( "context_id=#{@context.id} AND done=0" )
end