diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index d7984436a..5ab07e5cf 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -2689,20 +2689,7 @@ input.richtext_title[type="text"] { opacity: 0.7; } -.report-related-block { - display:inline-block; -} - -.report-block { - width:475px; - float:left; - margin-right:100px; -} - .related-reports { - width: 280px; - float: right; - ul { padding-left: $lineheight; margin-bottom: 0; @@ -2713,10 +2700,6 @@ input.richtext_title[type="text"] { } } -.issue-comments { - width:475px; -} - .issues-list { td:nth-child(2) { white-space: nowrap; diff --git a/app/views/issues/_comments.html.erb b/app/views/issues/_comments.html.erb index 7ff0948db..54932cc56 100644 --- a/app/views/issues/_comments.html.erb +++ b/app/views/issues/_comments.html.erb @@ -1,15 +1,15 @@
- <%= comment.body %> +
+ <%= t ".comment_from_html", :user_link => link_to(comment.user.display_name, user_path(comment.user)), + :comment_created_at => l(comment.created_at.to_datetime, :format => :friendly) %> +
+<%= comment.body %>
<% end %>
- - <%= t(".updated_at", :datetime => l(report.updated_at.to_datetime, :format => :friendly)) %> - -
- <%= report.details %> -
+
+ <%= t ".reported_by_html", :category => report.category, + :user => link_to(report.user.display_name, user_path(report.user)), + :updated_at => l(report.updated_at.to_datetime, :format => :friendly) %> +
+<%= report.details %>
<% end %> diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 3e2f5ef48..24a74c728 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -19,9 +19,8 @@
<%= link_to t(".reopen"), reopen_issue_url(@issue), :method => :post if @issue.may_reopen? %>
<% end %> -<%= t ".reports_of_this_issue" %>
<% if @read_reports.present? %> @@ -37,11 +36,10 @@ <%= render "reports", :reports => @unread_reports %><%= t ".other_issues_against_this_user" %>
<% if @related_issues.count > 1 %>diff --git a/config/locales/en.yml b/config/locales/en.yml index 7c3ae073e..173fc158e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1070,11 +1070,10 @@ en: reopen: reopened: Issue status has been set to 'Open' comments: - created_at: "On %{datetime}" + comment_from_html: "Comment from %{user_link} on %{comment_created_at}" reassign_param: Reassign Issue? reports: - updated_at: "On %{datetime}" - reported_by_html: "Reported as %{category} by %{user}" + reported_by_html: "Reported as %{category} by %{user} on %{updated_at}" helper: reportable_title: diary_comment: "%{entry_title}, comment #%{comment_id}"