Moved note description to the sidebar header
This commit is contained in:
parent
c4090bb150
commit
7a435df917
2 changed files with 5 additions and 4 deletions
|
@ -2,12 +2,13 @@
|
|||
|
||||
<h2>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
|
||||
<%= h(@note.comments.first.body.to_html) %>
|
||||
</h2>
|
||||
|
||||
<div class="browse-section">
|
||||
<h4><%= h(@note.comments.first.body.to_html) %></h4>
|
||||
<div class="details">
|
||||
<%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
|
||||
<br/>
|
||||
<%= note_event('open', @note.created_at, @note.author) %>
|
||||
<% if @note.status == "closed" %>
|
||||
<br/>
|
||||
|
|
|
@ -283,8 +283,8 @@ en:
|
|||
note:
|
||||
title: "Note"
|
||||
new_note: "Add a note"
|
||||
open_title: "Unresolved note: %{note_name}"
|
||||
closed_title: "Resolved note: %{note_name}"
|
||||
open_title: "Unresolved note #%{note_name}"
|
||||
closed_title: "Resolved note #%{note_name}"
|
||||
opened: "Opened"
|
||||
last_modified: "Last modified"
|
||||
closed: "Closed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue