incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [19/38] git commit: [#6235] ticket:366 Pass path for all repo types
Date Mon, 03 Jun 2013 19:19:18 GMT
[#6235] ticket:366 Pass path for all repo types


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

Branch: refs/heads/cj/6218
Commit: 5068fa1da9c49ca7cdbdcbdc8a9e392a40f1a908
Parents: 2cd57fd
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Fri May 24 14:30:21 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri May 31 22:14:09 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/5068fa1d/Allura/allura/templates/repo/tree.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/repo/tree.html b/Allura/allura/templates/repo/tree.html
index d66a327..b2dbcfe 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 c.app.tool_label.lower() == 'svn' and path
else '') }}" rel="nofollow">
+<a href="{{ tarball_url + ('?path=' + path if 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