From dda984cf166f3969241bc9dac42190706405d005 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 7 May 2009 13:15:10 +0000 Subject: [PATCH] * Add an icon for PDFs. --- src/root/product-list.tt | 8 ++++++-- src/root/static/images/pdf.png | Bin 0 -> 1943 bytes 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 src/root/static/images/pdf.png diff --git a/src/root/product-list.tt b/src/root/product-list.tt index 01c55acb..b78df643 100644 --- a/src/root/product-list.tt +++ b/src/root/product-list.tt @@ -146,11 +146,15 @@ - [% CASE "doc" %] + [% CASE ["doc", "doc-pdf"] %]
  • - Document + [% IF product.type == "doc-pdf" %] + PDF document + [% ELSE %] + Document + [% END %] [% SWITCH product.subtype %] [% CASE "readme" %] “README” file diff --git a/src/root/static/images/pdf.png b/src/root/static/images/pdf.png new file mode 100644 index 0000000000000000000000000000000000000000..fca2c672e2a2313bc743223a28d035bc414d08a3 GIT binary patch literal 1943 zcmX9lJNKuVnLH&lu(cg^2no$1eKcr;)_0~8SiT`2pRrdE>|GncFOv2qaH<-t%0a^W*WkEWqfXDu4D9v7u0J!jw?&a z7Q+#Jyh%2`@QK2jpXU+?Va7P0`=s+04)(dDR4S@1bcS&04_vOzF6b)+A`^I3c#UFZm%s%#c;CiyP%@C}&<_ zQSaP*v*aJKQyhYt=BW$T1aF8smYRBX0icU)sq*K4jXo;1wW#&O-JIx~w{I93TWN{z z1*&+BR%`)}we}NC7hvTIwFBGfi%phV;ZU*sp9?E$Hv(5079`chqu8EXaF+OP2ZeR>=1>$eP+g_J}7;EfiKvoxXT4U0oj zT*N6hi7twSo_WNHeB0aZ<~&%0+k7IXH=dvp9@$40CafND;xcB!di|`dg{Qj6zt9xh zqy7I%(%9Uht&Ji^hQ_dYYSBX@Cats_dcL0yY&l*hm2Tette>}VRH=Ie=GTlwX?Tmv zqS2#VT`K+VwfvontR!k)?w9zq{Wn2+Y-6HHd-VqHS&#xQdC-T50Hy$S5bmQ|$9I0v zrDmC_E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