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:
parent
39c05b8dac
commit
ecde507b60
2 changed files with 7 additions and 2 deletions
|
@ -27,6 +27,11 @@
|
|||
padding-left: 1em
|
||||
font-size: 85%
|
||||
|
||||
.name-cell a
|
||||
text-decoration: none
|
||||
&:hover
|
||||
text-decoration: underline
|
||||
|
||||
thead
|
||||
background: $module-bg-color
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%tr
|
||||
%td.thumbnail-cell= item_thumbnail_for(item)
|
||||
%td= item.name
|
||||
%td.thumbnail-cell= link_to item_thumbnail_for(item), item, target: "_blank"
|
||||
%td.name-cell= link_to item.name, item, target: "_blank"
|
||||
%td.actions-cell= yield
|
||||
|
|
Loading…
Reference in a new issue