Show date range on the activity (closes #837).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1303 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-03-29 11:12:57 +00:00
parent 1bb51f743a
commit 0dfa2ad3cf
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
<h2><%= l(:label_activity) %></h2> <h2><%= l(:label_activity) %></h2>
<p class="subtitle"><%= "#{l(:label_date_from)} #{format_date(@date_to - @days)} #{l(:label_date_to).downcase} #{format_date(@date_to-1)}" %></p>
<div id="activity"> <div id="activity">
<% @events_by_day.keys.sort.reverse.each do |day| %> <% @events_by_day.keys.sort.reverse.each do |day| %>

View File

@ -160,6 +160,7 @@ textarea.wiki-edit { width: 99%; }
li p {margin-top: 0;} li p {margin-top: 0;}
div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;} div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;} p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
fieldset#filters .buttons { text-align: right; font-size: 0.9em; margin: 0 4px 0px 0; } fieldset#filters .buttons { text-align: right; font-size: 0.9em; margin: 0 4px 0px 0; }