mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-28 21:08:48 +01:00
Fix missing links for tags in the recurring todo view
The helper method for the recurring todo tag list was missing additions of the links
This commit is contained in:
parent
5f5a2045b5
commit
32af610a1b
1 changed files with 2 additions and 3 deletions
|
|
@ -3,9 +3,8 @@ module RecurringTodosHelper
|
|||
def recurring_todo_tag_list
|
||||
tags_except_starred = @recurring_todo.tags.reject{|t| t.name == Todo::STARRED_TAG_NAME}
|
||||
tag_list = tags_except_starred.collect{|t| "<span class=\"tag #{t.name.gsub(' ','-')}\">" +
|
||||
# link_to(t.name, :controller => "todos", :action => "tag", :id =>
|
||||
# t.name) + TODO: tag view for recurring_todos (yet?)
|
||||
t.name +
|
||||
link_to(t.name, :controller => "todos", :action => "tag", :id =>
|
||||
t.name) + #TODO: tag view for recurring_todos (yet?)
|
||||
"</span>"}.join('')
|
||||
"<span class='tags'>#{tag_list}</span>"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue