Commit 41bdccff authored by ext.sopra.ncastejon's avatar ext.sopra.ncastejon
Browse files

Add a tooltip for download a file.

parent 1d5c942c
......@@ -11,7 +11,7 @@
</div>
<div class="resource-download-icon" (click)="saveResource()" *ngIf="!whichStepLoading">
<a>
<a [attr.data-tooltip]="downloadMessage">
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="21" fill="none" viewBox="0 0 22 21">
<path fill="#4668AB"
d="M21.323 13.961h-.338c-.339 0-.677.339-.677.677v4.57H1.692v-4.57a.667.667 0 0 0-.677-.677H.677c-.339 0-.677.339-.677.677V20.223c0 .423.338.677.677.677h20.646c.338 0 .677-.339.677-.677v-5.585a.667.667 0 0 0-.677-.677z" />
......
......@@ -18,6 +18,7 @@ export class ResourceDownloadItemComponent implements OnInit {
@Output() abortEvent = new EventEmitter();
abortMessage: string = geosource.downloads.abort;
downloadMessage: string = geosource.downloads.download;
constructor() { }
......
......@@ -205,6 +205,7 @@ export const geosource = {
},
downloads: {
abort: 'Annuler le téléchargement en cours',
download: 'Télécharger le fichier',
},
licence: {
other: 'Autre licence',
......
......@@ -205,6 +205,7 @@ export const geosource = {
},
downloads: {
abort: 'Cancel the download in progress',
download: 'Download the file',
},
licence: {
other: 'Other license',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment