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

@ -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

@ -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

@ -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

@ -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>