diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-07-04 12:36:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-07-04 12:36:26 +0000 |
commit | 5afa190a9ab93f7a7b40da4e1fd6be7633dab9ce (patch) | |
tree | dac6376e1f948bf03f0d791e57b2e61f8a395d69 /app/views/issues/show.rhtml | |
parent | 00f7a029592346ff96ba97b980a71d05512fe1ef (diff) | |
download | redmine-5afa190a9ab93f7a7b40da4e1fd6be7633dab9ce.tar.gz redmine-5afa190a9ab93f7a7b40da4e1fd6be7633dab9ce.zip |
Adds issue last update timestamp (#3565).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2803 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/show.rhtml')
-rw-r--r-- | app/views/issues/show.rhtml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index c23acdf83..49796bbf4 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -14,7 +14,9 @@ <h3><%=h @issue.subject %></h3> <p class="author"> <%= authoring @issue.created_on, @issue.author %>. - <%= l(:label_updated_time, distance_of_time_in_words(Time.now, @issue.updated_on)) + '.' if @issue.created_on != @issue.updated_on %> + <% if @issue.created_on != @issue.updated_on %> + <%= l(:label_updated_time, time_tag(@issue.updated_on)) %>. + <% end %> </p> <table width="100%"> |