Skip to content
Snippets Groups Projects
Commit 41bdccff authored by ext.sopra.ncastejon's avatar ext.sopra.ncastejon
Browse files

Add a tooltip for download a file.

parent 1d5c942c
No related branches found
No related tags found
2 merge requests!62v2.5.0,!60Adding license
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</div> </div>
<div class="resource-download-icon" (click)="saveResource()" *ngIf="!whichStepLoading"> <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"> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="21" fill="none" viewBox="0 0 22 21">
<path fill="#4668AB" <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" /> 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 { ...@@ -18,6 +18,7 @@ export class ResourceDownloadItemComponent implements OnInit {
@Output() abortEvent = new EventEmitter(); @Output() abortEvent = new EventEmitter();
abortMessage: string = geosource.downloads.abort; abortMessage: string = geosource.downloads.abort;
downloadMessage: string = geosource.downloads.download;
constructor() { } constructor() { }
......
...@@ -205,6 +205,7 @@ export const geosource = { ...@@ -205,6 +205,7 @@ export const geosource = {
}, },
downloads: { downloads: {
abort: 'Annuler le téléchargement en cours', abort: 'Annuler le téléchargement en cours',
download: 'Télécharger le fichier',
}, },
licence: { licence: {
other: 'Autre licence', other: 'Autre licence',
......
...@@ -205,6 +205,7 @@ export const geosource = { ...@@ -205,6 +205,7 @@ export const geosource = {
}, },
downloads: { downloads: {
abort: 'Cancel the download in progress', abort: 'Cancel the download in progress',
download: 'Download the file',
}, },
licence: { licence: {
other: 'Other license', other: 'Other license',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment