From bcae949f1e07c4d188a58ca8af6c512566cadc97 Mon Sep 17 00:00:00 2001 From: Hagen Schink Date: Fri, 7 Feb 2014 12:47:25 +0100 Subject: [PATCH] Adds missing tab select label --- app/views/timelog/_time_entry_tab.html.erb | 6 ++++++ app/views/timelog/_time_entry_tabs.html.erb | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 app/views/timelog/_time_entry_tab.html.erb diff --git a/app/views/timelog/_time_entry_tab.html.erb b/app/views/timelog/_time_entry_tab.html.erb new file mode 100644 index 0000000000..c7de48004c --- /dev/null +++ b/app/views/timelog/_time_entry_tab.html.erb @@ -0,0 +1,6 @@ +
  • +<%= link_to(tab_path, :class => (tab_selected ? 'selected' : nil)) do %> + <%= tab_selected ? you_are_here_info : nil %> + <%= tab_title %> +<% end %> +
  • diff --git a/app/views/timelog/_time_entry_tabs.html.erb b/app/views/timelog/_time_entry_tabs.html.erb index 69fcee0986..a0aa8e7203 100644 --- a/app/views/timelog/_time_entry_tabs.html.erb +++ b/app/views/timelog/_time_entry_tabs.html.erb @@ -1,9 +1,11 @@
    <% url_params = @free_period ? { :from => @from, :to => @to } : { :period => params[:period] } %>