Skip to content

Commit

Permalink
Added download tooltip - solves go-gitea#221
Browse files Browse the repository at this point in the history
  • Loading branch information
hhenkel committed Dec 6, 2016
1 parent 83ed234 commit 3e8c1c9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions conf/locale/locale_de-DE.ini
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ watch=Beobachten
unstar=Favorit entfernen
star=Favorit hinzufügen
fork=Fork
download_archive=Dieses Repository herunterladen

no_desc=Keine Beschreibung
quick_guide=Kurzanleitung
Expand Down
1 change: 1 addition & 0 deletions conf/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ watch = Watch
unstar = Unstar
star = Star
fork = Fork
download_archive = Download this repository
no_desc = No Description
quick_guide = Quick Guide
Expand Down
1 change: 1 addition & 0 deletions conf/locale/locale_es-ES.ini
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ watch=Seguir
unstar=Eliminar destacado
star=Destacar
fork=Fork
download_archive=Descargar este repositorio

no_desc=Sin descripción
quick_guide=Guía Rápida
Expand Down
2 changes: 1 addition & 1 deletion templates/repo/home.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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">
<i class="octicon octicon-clippy"></i>
</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>
<div class="menu">
<a class="item" href="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip"><i class="octicon octicon-file-zip"></i> ZIP</a>
Expand Down

0 comments on commit 3e8c1c9

Please sign in to comment.