* Add an icon for PDFs.

This commit is contained in:
Eelco Dolstra 2009-05-07 13:15:10 +00:00
parent 301b67e3d3
commit dda984cf16
2 changed files with 6 additions and 2 deletions

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB