Fix note formatting issues

This commit is contained in:
Aaron Lidman 2013-11-10 23:23:40 -08:00
parent b56fb25068
commit 2ebe5de1a1
3 changed files with 10 additions and 12 deletions

View file

@ -1091,7 +1091,7 @@ a.donate {
}
}
.paginate ul, .note-comments ul {
.paginate ul {
padding-left: 20px;
}

View 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 %>">

View 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}"