summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-02 20:47:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-02 20:47:41 +0000
commit6260892949de3b01924affb785e935d038ca7f1c (patch)
tree5aa1c7e94046124bdfec0c2a8fa17e89c644fd77 /app
parent8a3e713f2f776b0f2be4c4238661cae3c5b8bfd6 (diff)
downloadredmine-6260892949de3b01924affb785e935d038ca7f1c.tar.gz
redmine-6260892949de3b01924affb785e935d038ca7f1c.zip
'Due in' label removed from the changelog view.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@700 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/changelog.rhtml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/changelog.rhtml b/app/views/projects/changelog.rhtml
index 490b85708..91c5b84ec 100644
--- a/app/views/projects/changelog.rhtml
+++ b/app/views/projects/changelog.rhtml
@@ -15,10 +15,8 @@
<% @versions.each do |version| %>
<a name="<%= version.name %>"><h3 class="icon22 icon22-package"><%= version.name %></h3></a>
- <% if version.completed? %>
+ <% if version.effective_date %>
<p><%= format_date(version.effective_date) %></p>
- <% elsif version.effective_date %>
- <p><strong><%=l(:label_roadmap_due_in)%> <%= distance_of_time_in_words Time.now, version.effective_date %> (<%= format_date(version.effective_date) %>)</strong></p>
<% end %>
<p><%=h version.description %></p>
<% issues = version.fixed_issues.find(:all,