diff options
Diffstat (limited to 'app/views')
-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%"> |