]> git.openstreetmap.org Git - rails.git/commitdiff
Add link to updating user into issue heading
authorAnton Khorev <tony29@yandex.ru>
Tue, 9 Jan 2024 13:39:46 +0000 (16:39 +0300)
committerAnton Khorev <tony29@yandex.ru>
Tue, 9 Jan 2024 13:39:46 +0000 (16:39 +0300)
app/views/issues/show.html.erb

index 2f1e45aa5edc1c76ee51b19496ff33c87068ba94..e2099f8e6878cab075faf7657940676d408bfb42 100644 (file)
@@ -21,7 +21,7 @@
       | <%= t ".last_updated_at_html",
               :datetime => tag.time(l(@issue.updated_at.to_datetime, :format => :friendly),
                                     :datetime => @issue.updated_at.xmlschema),
-              :displayname => @issue.user_updated.display_name %>
+              :displayname => link_to(@issue.user_updated.display_name, user_path(@issue.user_updated)) %>
     <% end %>
   </small>
 </p>