Convert note markers to SVG

This commit is contained in:
Hidde Wieringa 2024-05-14 20:06:14 +02:00 committed by Tom Hughes
parent bfaa61c993
commit b2fcf003f8
11 changed files with 114 additions and 5 deletions

View file

@ -27,9 +27,9 @@
<tr<% if note.author == @user %> class="table-primary"<% end %>>
<td>
<% if note.closed? %>
<%= image_tag("closed_note_marker.png", :alt => "closed", :size => "25x40") %>
<%= image_tag("closed_note_marker.svg", :alt => "closed", :width => 25, :height => 40) %>
<% else %>
<%= image_tag("open_note_marker.png", :alt => "open", :size => "25x40") %>
<%= image_tag("open_note_marker.svg", :alt => "open", :width => 25, :height => 40) %>
<% end %>
</td>
<td><%= link_to note.id, note %></td>