]> git.openstreetmap.org Git - rails.git/commitdiff
Add titles to issue pages
authorAnton Khorev <tony29@yandex.ru>
Thu, 3 Aug 2023 00:09:54 +0000 (03:09 +0300)
committerAnton Khorev <tony29@yandex.ru>
Thu, 3 Aug 2023 00:09:54 +0000 (03:09 +0300)
app/controllers/issues_controller.rb

index 44c19e322708a8b07c6ca75854988dbaba0782ca..c381119f0d44472b6633fe9e050923b604effd2f 100644 (file)
@@ -42,6 +42,7 @@ class IssuesController < ApplicationController
   end
 
   def show
   end
 
   def show
+    @title = t ".title", :status => @issue.status.humanize, :issue_id => @issue.id
     @read_reports = @issue.read_reports
     @unread_reports = @issue.unread_reports
     @comments = @issue.comments
     @read_reports = @issue.read_reports
     @unread_reports = @issue.unread_reports
     @comments = @issue.comments