diff --git a/app/views/todos/_mobile_todo.rhtml b/app/views/todos/_mobile_todo.rhtml index 88147afa..e2561b69 100644 --- a/app/views/todos/_mobile_todo.rhtml +++ b/app/views/todos/_mobile_todo.rhtml @@ -14,12 +14,12 @@ end -%> <% end -%> <%= date_span -%> <%= link_to mobile_todo.description, formatted_todo_path(mobile_todo, :m) -%> <% if parent_container_type == 'context' or parent_container_type == 'tag' -%> -<%= " (" + +<%= " (" + link_to(mobile_todo.project.name, formatted_project_path(mobile_todo.project, :m)) + ")" unless mobile_todo.project.nil? -%> <% end if parent_container_type == 'project' or parent_container_type == 'tag' -%> -<%= " (" + +<%= " (" + link_to(mobile_todo.context.name, formatted_context_path(mobile_todo.context, :m)) + ")" -%> <% end -%>