You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2013/08/08 15:34:46 UTC

[27/50] git commit: [#4931] Add download link for images in repo

[#4931] Add download link for images in repo

Signed-off-by: Tim Van Steenburgh <tv...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/0065ba1e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/0065ba1e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/0065ba1e

Branch: refs/heads/tv/6458
Commit: 0065ba1ec6488dfb70d7d117cc95ade240e09d89
Parents: 4343ee0
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Tue Jul 30 21:31:03 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Jul 31 19:41:12 2013 +0000

----------------------------------------------------------------------
 Allura/allura/templates/repo/file.html | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/0065ba1e/Allura/allura/templates/repo/file.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/repo/file.html b/Allura/allura/templates/repo/file.html
index 3dcb447..04f7205 100644
--- a/Allura/allura/templates/repo/file.html
+++ b/Allura/allura/templates/repo/file.html
@@ -80,6 +80,7 @@
   {% endif %}
 
   {% if blob.has_image_view %}
+    <p><a href="?format=raw">Download this file</a></p>
     <img src="?format=raw" alt=""/>
   {% elif blob.has_html_view or blob.has_pypeline_view or force_display %}
     <p><a href="?format=raw">Download this file</a></p>