Merge pull request #4150 from AntonKhorev/note-table-bootstrap-highlight

Use Bootstrap highlight class in note tables
This commit is contained in:
Andy Allan 2023-08-16 13:35:47 +01:00 committed by GitHub
commit 9174049d6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 9 deletions

View file

@ -1220,14 +1220,6 @@ div.secondary-actions {
}
}
/* Rules for the user notes list */
.note_list {
tr.creator {
background-color: $offwhite;
}
}
/* Rules for the iD editor */
.id-embed {

View file

@ -21,7 +21,7 @@
</tr>
</thead>
<% @notes.each do |note| -%>
<tr<% if note.author == @user %> class="creator"<% end %>>
<tr<% if note.author == @user %> class="table-primary"<% end %>>
<td>
<% if note.closed? %>
<%= image_tag("closed_note_marker.png", :alt => "closed", :size => "25x40") %>