1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 12:44:49 -05:00

Added download tooltip - solves #221 (#359)

This commit is contained in:
Henning Henkel 2016-12-07 09:38:20 +01:00 committed by Thomas Boerger
parent 026ad4aee7
commit 08b9af9ad8
4 changed files with 4 additions and 1 deletions

View file

@ -401,6 +401,7 @@ watch=Beobachten
unstar=Favorit entfernen unstar=Favorit entfernen
star=Favorit hinzufügen star=Favorit hinzufügen
fork=Fork fork=Fork
download_archive=Dieses Repository herunterladen
no_desc=Keine Beschreibung no_desc=Keine Beschreibung
quick_guide=Kurzanleitung quick_guide=Kurzanleitung

View file

@ -405,6 +405,7 @@ watch = Watch
unstar = Unstar unstar = Unstar
star = Star star = Star
fork = Fork fork = Fork
download_archive = Download this repository
no_desc = No Description no_desc = No Description
quick_guide = Quick Guide quick_guide = Quick Guide

View file

@ -401,6 +401,7 @@ watch=Seguir
unstar=Eliminar destacado unstar=Eliminar destacado
star=Destacar star=Destacar
fork=Fork fork=Fork
download_archive=Descargar este repositorio
no_desc=Sin descripción no_desc=Sin descripción
quick_guide=Guía Rápida quick_guide=Guía Rápida

View file

@ -69,7 +69,7 @@
<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"> <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> <i class="octicon octicon-clippy"></i>
</button> </button>
<div class="ui basic jump dropdown icon button"> <div class="ui basic jump dropdown icon button poping up" data-content="{{.i18n.Tr "repo.download_archive"}}" data-variation="tiny inverted">
<i class="download icon"></i> <i class="download icon"></i>
<div class="menu"> <div class="menu">
<a class="item" href="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip"><i class="octicon octicon-file-zip"></i> ZIP</a> <a class="item" href="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip"><i class="octicon octicon-file-zip"></i> ZIP</a>