Closes #301: download link in overflow menu

This commit is contained in:
Benjamin Gamard 2019-05-03 14:09:35 +02:00
parent 647e66d57b
commit 8bd22ebafa
3 changed files with 16 additions and 0 deletions

View File

@ -603,6 +603,7 @@
"edit": "Edit", "edit": "Edit",
"delete": "Delete", "delete": "Delete",
"rename": "Rename", "rename": "Rename",
"download": "Download",
"loading": "Loading...", "loading": "Loading...",
"send": "Send", "send": "Send",
"enabled": "Enabled", "enabled": "Enabled",

View File

@ -599,6 +599,7 @@
"edit": "Modifier", "edit": "Modifier",
"delete": "Supprimer", "delete": "Supprimer",
"rename": "Renommer", "rename": "Renommer",
"download": "Télécharger",
"loading": "Chargement...", "loading": "Chargement...",
"send": "Envoyer", "send": "Envoyer",
"enabled": "Activé", "enabled": "Activé",

View File

@ -83,6 +83,13 @@
<span class="fas fa-ellipsis-v"></span> <span class="fas fa-ellipsis-v"></span>
</button> </button>
<ul class="dropdown-menu" uib-dropdown-menu> <ul class="dropdown-menu" uib-dropdown-menu>
<li>
<a ng-href="../api/file/{{ file.id }}/data" target="_blank">
<span class="fas fa-download"></span>
{{ 'download' | translate }}
</a>
</li>
<li role="separator" class="divider"></li>
<li> <li>
<a href ng-click="renameFile(file)"> <a href ng-click="renameFile(file)">
<span class="fas fa-pencil-alt"></span> <span class="fas fa-pencil-alt"></span>
@ -168,6 +175,13 @@
<span class="fas fa-ellipsis-v"></span> <span class="fas fa-ellipsis-v"></span>
</button> </button>
<ul class="dropdown-menu" uib-dropdown-menu> <ul class="dropdown-menu" uib-dropdown-menu>
<li>
<a ng-href="../api/file/{{ file.id }}/data" target="_blank">
<span class="fas fa-download"></span>
{{ 'download' | translate }}
</a>
</li>
<li role="separator" class="divider"></li>
<li> <li>
<a href ng-click="renameFile(file)"> <a href ng-click="renameFile(file)">
<span class="fas fa-pencil-alt"></span> <span class="fas fa-pencil-alt"></span>