1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

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
This commit is contained in:
Jean-Philippe Lang 2017-01-26 18:07:23 +00:00
parent 3d3192b187
commit 36cfb2cc8b
2 changed files with 1 additions and 3 deletions

View File

@ -34,7 +34,7 @@ entries_by_day = entries.group_by(&:spent_on)
<% if entries.any? %> <% if entries.any? %>
<%= form_tag({}, :data => {:cm_url => time_entries_context_menu_path}) do %> <%= 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> <thead><tr>
<th><%= l(:label_activity) %></th> <th><%= l(:label_activity) %></th>
<th><%= l(:label_project) %></th> <th><%= l(:label_project) %></th>

View File

@ -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;} 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 { 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; } 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; } td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }