Add item page links to Item Getting Guide table rows

Just a simple one! Clicking the item image or name takes you to the DTI
item page for it now!
This commit is contained in:
Emi Matchu 2024-05-21 18:57:32 -07:00
parent 39c05b8dac
commit ecde507b60
2 changed files with 7 additions and 2 deletions

View file

@ -27,6 +27,11 @@
padding-left: 1em padding-left: 1em
font-size: 85% font-size: 85%
.name-cell a
text-decoration: none
&:hover
text-decoration: underline
thead thead
background: $module-bg-color background: $module-bg-color

View file

@ -1,4 +1,4 @@
%tr %tr
%td.thumbnail-cell= item_thumbnail_for(item) %td.thumbnail-cell= link_to item_thumbnail_for(item), item, target: "_blank"
%td= item.name %td.name-cell= link_to item.name, item, target: "_blank"
%td.actions-cell= yield %td.actions-cell= yield