forked from lix-project/hydra
* Add an icon for PDFs.
This commit is contained in:
parent
301b67e3d3
commit
dda984cf16
|
@ -146,11 +146,15 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
[% CASE "doc" %]
|
||||
[% CASE ["doc", "doc-pdf"] %]
|
||||
|
||||
<li class="product">
|
||||
<a href="[% uri %]">
|
||||
<img src="/static/images/document.png" alt="Document" />
|
||||
[% IF product.type == "doc-pdf" %]
|
||||
<img src="/static/images/pdf.png" alt="PDF document" />
|
||||
[% ELSE %]
|
||||
<img src="/static/images/document.png" alt="Document" />
|
||||
[% END %]
|
||||
[% SWITCH product.subtype %]
|
||||
[% CASE "readme" %]
|
||||
“README” file
|
||||
|
|
BIN
src/root/static/images/pdf.png
Normal file
BIN
src/root/static/images/pdf.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Loading…
Reference in a new issue