From 2d11109b8b81b7b9f87c72e8fe3c8d29d2625d78 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Mon, 22 Dec 2008 16:41:43 +0100 Subject: [PATCH] make the mobile homepage pass the w3c validator --- app/views/todos/_mobile_todo.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/todos/_mobile_todo.rhtml b/app/views/todos/_mobile_todo.rhtml index 59e16bba..89920b35 100644 --- a/app/views/todos/_mobile_todo.rhtml +++ b/app/views/todos/_mobile_todo.rhtml @@ -12,12 +12,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 -%>