]> git.openstreetmap.org Git - rails.git/commitdiff
Fix note formatting issues
authorAaron Lidman <aaronlidman@gmail.com>
Mon, 11 Nov 2013 07:23:40 +0000 (23:23 -0800)
committerAaron Lidman <aaronlidman@gmail.com>
Mon, 11 Nov 2013 17:35:58 +0000 (09:35 -0800)
app/assets/stylesheets/common.css.scss
app/views/browse/note.html.erb
config/locales/en.yml

index d00aa96822b5e6257d4aabb81a3e01a2049dd9cb..081f0945f300bca5460f00cf0dac2668d3b82c83 100644 (file)
@@ -1091,7 +1091,7 @@ a.donate {
     }
   }
 
-  .paginate ul, .note-comments ul {
+  .paginate ul {
     padding-left: 20px;
   }
 
index ed13f97c7ae041c88377f2b92d579a50bdf1b778..5c364e81557499aadd2bcff1e898b225ab94951a 100644 (file)
@@ -6,8 +6,7 @@
 </h2>
 <div class="browse-section">
   <h4>
-    <%= @note.author %>
-    <%= note_event(@note.status, @note.created_at, @note.author) %>
+    <%= note_event('open', @note.created_at, @note.author) %>
     <% if @note.status == "closed" %>
       <br/>
       <%= note_event(@note.status, @note.closed_at, @note.comments.last.author) %>
@@ -35,7 +34,6 @@
 
 <% if @note.comments.length > 1 %>
   <div class='browse-section clearfix note-comments'>
-    <h4><%= t "browse.note.comments" %></h4>
     <ul>
       <% @note.comments[1..-1].each do |comment| %>
         <li id="c<%= comment.id %>">
index 5cbbf8cd87cb8076b539d5104546da24e11308f6..2a546abce81524b783078fd462a07d50eef64134 100644 (file)
@@ -292,14 +292,14 @@ en:
       description: "Description"
       comments: "Comments"
       anonymous: "anonymous"
-      open_by: "Created by %{user} <abbr title='%{exact_time}'>%{when}</abbr> ago"
-      open_by_anonymous: "Created by anonymous <abbr title='%{exact_time}'>%{when}</abbr> ago"
-      commented_by: "Comment from %{user} <abbr title='%{exact_time}'>%{when}</abbr> ago"
-      commented_by_anonymous: "Comment from anonymous <abbr title='%{exact_time}'>%{when}</abbr> ago"
-      closed_by: "Resolved by %{user} <abbr title='%{exact_time}'>%{when}</abbr> ago"
-      closed_by_anonymous: "Resolved by anonymous <abbr title='%{exact_time}'>%{when}</abbr> ago"
-      reopened_by: "Reactivated by %{user} <abbr title='%{exact_time}'>%{when}</abbr> ago"
-      reopened_by_anonymous: "Reactivated by anonymous <abbr title='%{exact_time}'>%{when}</abbr> ago"
+      open_by: "Created by %{user} <abbr title='%{exact_time}'>%{when} ago</abbr>"
+      open_by_anonymous: "Created by anonymous <abbr title='%{exact_time}'>%{when} ago</abbr>"
+      commented_by: "Comment from %{user} <abbr title='%{exact_time}'>%{when} ago</abbr>"
+      commented_by_anonymous: "Comment from anonymous <abbr title='%{exact_time}'>%{when} ago</abbr>"
+      closed_by: "Resolved by %{user} <abbr title='%{exact_time}'>%{when} ago</abbr>"
+      closed_by_anonymous: "Resolved by anonymous <abbr title='%{exact_time}'>%{when} ago</abbr>"
+      reopened_by: "Reactivated by %{user} <abbr title='%{exact_time}'>%{when} ago</abbr>"
+      reopened_by_anonymous: "Reactivated by anonymous <abbr title='%{exact_time}'>%{when} ago</abbr>"
   changeset:
     changeset_paging_nav:
       showing_page: "Page %{page}"