From 1cf3a73fe15fe472319a3fa5aaf97902650c34c7 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Mon, 11 Aug 2008 15:27:40 +0200 Subject: [PATCH] Fixed issue 18, link to download/git clone in the tree view visually annoying. --- src/IDF/templates/source/tree.html | 3 +-- www/media/idf/css/style.css | 8 ++++++++ www/media/idf/img/package-grey.png | Bin 0 -> 576 bytes 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 www/media/idf/img/package-grey.png diff --git a/src/IDF/templates/source/tree.html b/src/IDF/templates/source/tree.html index 9781cec..a14dd66 100644 --- a/src/IDF/templates/source/tree.html +++ b/src/IDF/templates/source/tree.html @@ -43,8 +43,7 @@ {aurl 'url', 'IDF_Views_Source::download', array($project.shortname, $commit)} -

git clone {$project.getGitDaemonUrl()}

-

{trans 'Archive'} {trans 'Download this version'}

+

{trans 'Archive'} {trans 'Download this version'} {trans 'or'} git clone {$project.getGitDaemonUrl()}

{/block} diff --git a/www/media/idf/css/style.css b/www/media/idf/css/style.css index 996f0a5..7555c24 100644 --- a/www/media/idf/css/style.css +++ b/www/media/idf/css/style.css @@ -41,6 +41,14 @@ font-family: monospace; } +.soft { + color: #777; +} + +.soft a { + color: #777; +} + div.context { padding-left: 1em; } diff --git a/www/media/idf/img/package-grey.png b/www/media/idf/img/package-grey.png new file mode 100644 index 0000000000000000000000000000000000000000..6abb01fbc7197c6a321f4d73332a777d7d3b2096 GIT binary patch literal 576 zcmV-G0>AxPx#24YJ`L;(K){{a7>y{D4^000SaNLh0L01ejw01ejxLMWSf00007bV*G`2iOP; z4HF|Cm|Kwm00F>BL_t(I%dL_C}*(CK32bYcx4r(?R zH$^E9Lcz&qbMR+T1VtT0bh3(wn~HR>L!}ibgOd>vEclZ)ZM-?>I5b+M1yl8%J`U%7 z-tRl#fq#?$j8+GR=4~>)7GpMOZ9jMK{fwMExaC>L>*2FEC;YqmOCN->!g~OeQcEcU zb6;mMN#43nDzBy{)QhL%#HwA>0ArUP+2-eu>iUII3Bw40H2qFw41y4bA%WIp^QBi+2|9 z9o|`-b6uKaTV*$o@81T9wTEcqVA+dOqD=xM%gNoxTuqf7d#JyjG;-?Drm;n5YJc+w zV%4q*z=;E8Up;(`Mt!O$