allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject git commit: [#4931] Add download link for images in repo
Date Tue, 30 Jul 2013 21:31:17 GMT
Updated Branches:
  refs/heads/tv/4931 [created] d91ad5057


[#4931] Add download link for images in repo

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@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/d91ad505
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/d91ad505
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/d91ad505

Branch: refs/heads/tv/4931
Commit: d91ad5057555c839851539cc459f9f4d5cdd6e4b
Parents: fff526f
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Tue Jul 30 21:31:03 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Tue Jul 30 21:31:03 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/d91ad505/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>


Mime
View raw message