summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki/view.tmpl
diff options
context:
space:
mode:
authorchriswatt <info@chriswatt.org>2016-02-29 15:45:55 +0000
committerchriswatt <info@chriswatt.org>2016-02-29 15:45:55 +0000
commita71a5bfeb4d2f946a49e99c400223be05de88dd6 (patch)
tree2895657554d1f820d937c226239112038844295a /templates/repo/wiki/view.tmpl
parent8055a0bdac005189077df69870cd2ed0b7eebd56 (diff)
downloadgitea-a71a5bfeb4d2f946a49e99c400223be05de88dd6.tar.gz
gitea-a71a5bfeb4d2f946a49e99c400223be05de88dd6.zip
Remove download archive button on wiki pages
Diffstat (limited to 'templates/repo/wiki/view.tmpl')
-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>