aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-29 13:36:22 -0500
committerUnknwon <u@gogs.io>2016-02-29 13:36:22 -0500
commit42a556a082d041cd546fdaa15a63ede5764134ba (patch)
treef2435c608046497d04de08c5e3d76c71e345aad4
parent6cee434b04baedb055bccc6d50c77810c8ce209c (diff)
parenta71a5bfeb4d2f946a49e99c400223be05de88dd6 (diff)
downloadgitea-42a556a082d041cd546fdaa15a63ede5764134ba.tar.gz
gitea-42a556a082d041cd546fdaa15a63ede5764134ba.zip
Merge pull request #2722 from chriswatt/hidewikidlbutton
Hide the download archive button when viewing wiki pages
-rw-r--r--templates/repo/wiki/view.tmpl7
1 files changed, 0 insertions, 7 deletions
diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl
index c1b6c6f72d..c8189285aa 100644
--- a/templates/repo/wiki/view.tmpl
+++ b/templates/repo/wiki/view.tmpl
@@ -41,13 +41,6 @@
<button class="ui basic icon button poping up clipboard" id="clipboard-btn" data-original="{{.i18n.Tr "repo.copy_link"}}" data-success="{{.i18n.Tr "repo.copy_link_success"}}" data-error="{{.i18n.Tr "repo.copy_link_error"}}" data-content="{{.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-target="#repo-clone-url">
<i class="octicon octicon-clippy"></i>
</button>
- <div class="ui basic jump dropdown icon button">
- <i class="download icon"></i>
- <div class="menu">
- <a class="item" href="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip"><i class="icon octicon octicon-file-zip"></i> ZIP</a>
- <a class="item" href="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.tar.gz"><i class="icon octicon octicon-file-zip"></i> TAR.GZ</a>
- </div>
- </div>
</div>
</div>
</div>