incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [09/21] git commit: [#6235] ticket:352 Pass path parameter only to svn snapshot urls
Date Mon, 03 Jun 2013 13:37:51 GMT
[#6235] ticket:352 Pass path parameter only to svn snapshot urls


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

Branch: refs/heads/master
Commit: 070c5d6d4c74cec705726beddbb81c7b07e92e9e
Parents: 91b68da
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Fri May 17 16:29:05 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri May 31 22:14:08 2013 +0000

----------------------------------------------------------------------
 Allura/allura/templates/repo/tree.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/070c5d6d/Allura/allura/templates/repo/tree.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/repo/tree.html b/Allura/allura/templates/repo/tree.html
index b2dbcfe..d66a327 100644
--- a/Allura/allura/templates/repo/tree.html
+++ b/Allura/allura/templates/repo/tree.html
@@ -31,7 +31,7 @@ Tree <a href="{{commit.url()}}">{{commit.shorthand_id()}}</a>
{{commit_labels(co
 
 {% block actions %}
 {% if tarball_url %}
-<a href="{{ tarball_url + ('?path=' + path if path else '') }}" rel="nofollow">
+<a href="{{ tarball_url + ('?path=' + path if c.app.tool_label.lower() == 'svn' and path
else '') }}" rel="nofollow">
     <b data-icon="{{g.icons.folder.char}}" class="ico {{g.icons.folder.css}}" title="Snapshot">
</b> Download Snapshot
 </a>
 {% endif %}


Mime
View raw message