diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-27 16:21:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-27 16:21:53 +0000 |
commit | c1a18a28898fcac9fa6038bf42b67df43c2e728d (patch) | |
tree | feeaab2afe7943771923b38efcbd801baf618f2f /app/views/projects/calendar.rhtml | |
parent | 89db1857268ff7bd1e63b27f34035e484b0abd1e (diff) | |
download | redmine-c1a18a28898fcac9fa6038bf42b67df43c2e728d.tar.gz redmine-c1a18a28898fcac9fa6038bf42b67df43c2e728d.zip |
Subproject name displayed on issue list, calendar and gantt (only for issues that belong to a subproject).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@484 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/calendar.rhtml')
-rw-r--r-- | app/views/projects/calendar.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/calendar.rhtml b/app/views/projects/calendar.rhtml index 4f4b5ab71..c63365b6c 100644 --- a/app/views/projects/calendar.rhtml +++ b/app/views/projects/calendar.rhtml @@ -67,7 +67,7 @@ while day <= @date_to elsif day == i.due_date image_tag('arrow_to.png') end %> - <small><%= link_to_issue i %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small> + <small><%= link_to_issue i %><%= " (#{i.project.name})" unless @project && @project == i.project %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small> <span class="tip"> <%= render :partial => "issues/tooltip", :locals => { :issue => i }%> </span> |