mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-18 23:16:10 +01:00
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:
parent
5fc3636f72
commit
7c814b5131
4 changed files with 11 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue