Browse Source

Added download tooltip - solves #221 (#359)

master
Henning Henkel Thomas Boerger 8 years ago
parent
commit
08b9af9ad8
4 changed files with 4 additions and 1 deletions
  1. +1
    -0
      conf/locale/locale_de-DE.ini
  2. +1
    -0
      conf/locale/locale_en-US.ini
  3. +1
    -0
      conf/locale/locale_es-ES.ini
  4. +1
    -1
      templates/repo/home.tmpl

+ 1
- 0
conf/locale/locale_de-DE.ini View File

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


+ 1
- 0
conf/locale/locale_en-US.ini View File

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


+ 1
- 0
conf/locale/locale_es-ES.ini View File

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


+ 1
- 1
templates/repo/home.tmpl 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">
<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>


Loading…
Cancel
Save