Changed note's first comment body to description
Replaced using note's first comment body with note's description.
This commit is contained in:
parent
f3fc4cdb49
commit
2c19c2143e
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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 %>">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue