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
|
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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue