From 36cfb2cc8b323aaa110f073eb0145f5b49268ad0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 26 Jan 2017 18:07:23 +0000 Subject: [PATCH] Adds odd_even class to time entries (#15361). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16262 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/my/blocks/_timelog.html.erb | 2 +- public/stylesheets/application.css | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/my/blocks/_timelog.html.erb b/app/views/my/blocks/_timelog.html.erb index dd962eae4..c7ec978fb 100644 --- a/app/views/my/blocks/_timelog.html.erb +++ b/app/views/my/blocks/_timelog.html.erb @@ -34,7 +34,7 @@ entries_by_day = entries.group_by(&:spent_on) <% if entries.any? %> <%= form_tag({}, :data => {:cm_url => time_entries_context_menu_path}) do %> - +
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index d16c2cf16..dc8c2b975 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -320,8 +320,6 @@ table.permissions td.role {color:#999;font-size:90%;font-weight:normal !importan tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;} -div.mypage-box table.time-entries tr.time-entry { background-color: #fff; } -div.mypage-box table.time-entries tr.odd { background-color:#f6f7f8; } tr.time-entry { text-align: center; white-space: nowrap; } tr.time-entry td.issue, tr.time-entry td.comments, tr.time-entry td.subject, tr.time-entry td.activity { text-align: left; white-space: normal; } td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; } -- 2.39.5
<%= l(:label_activity) %> <%= l(:label_project) %>