Merge remote-tracking branch 'upstream/pull/5494'

This commit is contained in:
Tom Hughes 2025-01-16 18:35:36 +00:00
commit 283e7b975b
6 changed files with 34 additions and 6 deletions

View file

@ -48,7 +48,7 @@
</td>
<td><%= link_to note.id, note %></td>
<td><%= note_author(note.author) %></td>
<td><%= note.comments.first.body.to_html %></td>
<td><%= note.description.to_html %></td>
<td><%= friendly_date_ago(note.created_at) %></td>
<td><%= friendly_date_ago(note.updated_at) %></td>
</tr>

View file

@ -5,7 +5,7 @@
<div>
<h4><%= t(".description") %></h4>
<div class="overflow-hidden ms-2">
<%= h(@note_comments.first.body.to_html) %>
<%= h(@note.description.to_html) %>
</div>
<div class="details" data-coordinates="<%= @note.lat %>,<%= @note.lon %>" data-status="<%= @note.status %>">