summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-29 11:12:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-29 11:12:57 +0000
commit0dfa2ad3cf593ae85a935c6b20b435d853df0b79 (patch)
tree5d46377ce4ae9ca7b8eef5939b6a1f191d53eedc
parent1bb51f743a3568dd8714233e83500bd7ff4feda8 (diff)
downloadredmine-0dfa2ad3cf593ae85a935c6b20b435d853df0b79.tar.gz
redmine-0dfa2ad3cf593ae85a935c6b20b435d853df0b79.zip
Show date range on the activity (closes #837).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1303 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/projects/activity.rhtml1
-rw-r--r--public/stylesheets/application.css1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/activity.rhtml b/app/views/projects/activity.rhtml
index bb3f16da3..0cf7a5000 100644
--- a/app/views/projects/activity.rhtml
+++ b/app/views/projects/activity.rhtml
@@ -1,4 +1,5 @@
<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">
<% @events_by_day.keys.sort.reverse.each do |day| %>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 01b31fa45..a1981c64a 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -160,6 +160,7 @@ textarea.wiki-edit { width: 99%; }
li p {margin-top: 0;}
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.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; }