mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-09 00:54:21 +01:00
Use rails helpers for the promote to project menu item
This commit is contained in:
parent
8bb92833b5
commit
04e3aebabe
2 changed files with 6 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ module TodosHelper
|
|||
:_source_view => (@source_view.underscore.gsub(/\s+/,'_') rescue "")}
|
||||
url[:_tag_name] = @tag_name if @source_view == 'tag'
|
||||
|
||||
return link_to(t('todos.convert_to_project'), url, {:class => "icon_item_to_project", :id => "to_project_#{dom_id(todo)}"})
|
||||
link_to(t('todos.convert_to_project'), url, {:class => "icon_item_to_project", :id => dom_id(todo, "to_project")})
|
||||
end
|
||||
|
||||
def collapsed_notes_image(todo)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue