mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-12 18:34:22 +01:00
fixes for mobile view and for recurring todos
* fixed redirect to last page instead of /mobile after adding a new todo using mobile interface * fixed adding new todo to tickler instead of home after marking a todo belonging an active recurring todo complete
This commit is contained in:
parent
c6dc3fcd5b
commit
db86df5497
7 changed files with 341 additions and 316 deletions
|
|
@ -114,11 +114,10 @@ module TodosHelper
|
|||
tags_except_starred = @todo.tags.reject{|t| t.name == Todo::STARRED_TAG_NAME}
|
||||
# removed the link. TODO: add link to mobile view of tagged actions
|
||||
tag_list = tags_except_starred.collect{|t|
|
||||
"<span class=\"tag #{t.name.gsub(' ','-')}\">" +
|
||||
"<span class=\"tag\">" +
|
||||
link_to(t.name, {:action => "tag", :controller => "todos", :id => t.name+".m"}) +
|
||||
# link_to(t.name, formatted_tag_path(t, :m)) +
|
||||
"</span>"}.join('')
|
||||
"<span class='tags'>#{tag_list}</span>"
|
||||
"<span class=\"tags\">#{tag_list}</span>"
|
||||
end
|
||||
|
||||
def deferred_due_date
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue