diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-26 18:07:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-26 18:07:23 +0000 |
commit | 36cfb2cc8b323aaa110f073eb0145f5b49268ad0 (patch) | |
tree | 3b372f73b8216f40b50c76f050a5fbdb19c344d5 | |
parent | 3d3192b187f565ce1dcb01836d0d460467032f35 (diff) | |
download | redmine-36cfb2cc8b323aaa110f073eb0145f5b49268ad0.tar.gz redmine-36cfb2cc8b323aaa110f073eb0145f5b49268ad0.zip |
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
-rw-r--r-- | app/views/my/blocks/_timelog.html.erb | 2 | ||||
-rw-r--r-- | public/stylesheets/application.css | 2 |
2 files changed, 1 insertions, 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 %> -<table class="list time-entries"> +<table class="list time-entries odd-even"> <thead><tr> <th><%= l(:label_activity) %></th> <th><%= l(:label_project) %></th> 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; } |