Localise notes interface
This commit is contained in:
parent
73b59c5859
commit
361906af9e
3 changed files with 15 additions and 5 deletions
|
@ -1,11 +1,11 @@
|
|||
<p>
|
||||
Move the marker to the correct position and<br/>
|
||||
describe the problem in the box below:
|
||||
<%- I18n.t('javascripts.notes.new.intro_1') %><br/>
|
||||
<%- I18n.t('javascripts.notes.new.intro_2') %>
|
||||
</p>
|
||||
<form action="#">
|
||||
<input type="hidden" name="lon">
|
||||
<input type="hidden" name="lat">
|
||||
<textarea name="comment" cols="40" rows="10"></textarea>
|
||||
<br/>
|
||||
<input type="submit" name="add" value="Add Note" id="note-add">
|
||||
<input type="submit" name="add" value="<%- I18n.t('javascripts.notes.new.add') %>" id="note-add">
|
||||
</form>
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
<h2>Note <%- note.id %></h2>
|
||||
<h2><%- I18n.t('javascripts.notes.show.title', { id: note.id }) %></h2>
|
||||
<% note.comments.forEach(function (comment) { %>
|
||||
<p>
|
||||
<small class="deemphasize">
|
||||
<%- comment.action %> by <%- comment.user %> at <%- comment.date %>
|
||||
<%- I18n.t('javascripts.notes.show.comment', {
|
||||
action: comment.action, user: comment.user, time: comment.date
|
||||
}) %>
|
||||
</small>
|
||||
<br/>
|
||||
<%- comment.text %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue