Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added download tooltip - solves #221 #359

Merged
merged 1 commit into from
Dec 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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