mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
get context list scenario passing
This commit is contained in:
parent
c9d64e6f4b
commit
7bce774daa
9 changed files with 29 additions and 36 deletions
|
|
@ -101,17 +101,17 @@ module ApplicationHelper
|
|||
# actions or multiple actions
|
||||
#
|
||||
def count_undone_todos_phrase(todos_parent)
|
||||
controller.count_undone_todos_phrase(todos_parent)
|
||||
controller.count_undone_todos_phrase(todos_parent).html_safe
|
||||
end
|
||||
|
||||
def count_undone_todos_phrase_text(todos_parent)
|
||||
count_undone_todos_phrase(todos_parent).gsub(" "," ")
|
||||
count_undone_todos_phrase(todos_parent).gsub(" "," ").html_safe
|
||||
end
|
||||
|
||||
def count_undone_todos_and_notes_phrase(project)
|
||||
s = count_undone_todos_phrase(project)
|
||||
s += ", #{t('common.note', :count => project.note_count)}" unless project.note_count == 0
|
||||
s
|
||||
s.html_safe
|
||||
end
|
||||
|
||||
def link_to_context(context, descriptor = sanitize(context.name))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue