Replace alert box with notification snackbar on dmp overview copy doi
This commit is contained in:
parent
c8a163f4aa
commit
7f654cc472
|
@ -118,7 +118,7 @@
|
|||
<textarea #doi class="doi-txt">{{ dmp.doi }}</textarea>
|
||||
</p>
|
||||
<div class="d-flex justify-content-end">
|
||||
<button (click)="copyDoi(doi)" mat-mini-fab class="mr-2 d-flex justify-content-center align-items-center" matTooltip="{{'DMP-LISTING.ACTIONS.CLONE' | translate}}" matTooltipPosition="above">
|
||||
<button (click)="copyDoi(doi)" mat-mini-fab class="mr-2 d-flex justify-content-center align-items-center" matTooltip="{{'DMP-LISTING.ACTIONS.COPY' | translate}}" matTooltipPosition="above">
|
||||
<mat-icon class="mat-mini-fab-icon">content_copy</mat-icon>
|
||||
</button>
|
||||
<button mat-mini-fab class="mr-2 d-flex justify-content-center align-items-center" matTooltip="{{'GRANT-EDITOR.ACTIONS.VISIT-WEBSITE' | translate}}" matTooltipPosition="above">
|
||||
|
|
|
@ -748,7 +748,7 @@ export class DmpOverviewComponent extends BaseComponent implements OnInit {
|
|||
domElement.select();
|
||||
document.execCommand('copy');
|
||||
domElement.setSelectionRange(0, 0);
|
||||
alert('Doi Copied to Clipboard');
|
||||
this.uiNotificationService.snackBarNotification(this.language.instant('GENERAL.SNACK-BAR.SUCCESSFUL-COPY-TO-CLIPBOARD'), SnackBarNotificationLevel.Success);
|
||||
}
|
||||
|
||||
public getOrcidPath(): string {
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
"SUCCESSFUL-LOGIN": "Anmeldung erfolgreich",
|
||||
"SUCCESSFUL-LOGOUT": "Abmeldung erfolgreich",
|
||||
"SUCCESSFUL-EMAIL-SEND": "E-Mail erfolgreich versendet",
|
||||
"SUCCESSFUL-COPY-TO-CLIPBOARD": "Copied to Clipboard",
|
||||
"UNSUCCESSFUL-LOGOUT": "Abmeldung fehlgeschlagen",
|
||||
"UNSUCCESSFUL-LOGIN": "Anmeldung fehlgeschlagen",
|
||||
"SUCCESSFUL-DATASET-PROFILE-DELETE": "Erfolgreich gelöscht",
|
||||
|
@ -470,6 +471,7 @@
|
|||
"START-NEW-VERSION": "Start New Version",
|
||||
"VIEW-VERSION": "Alle DMP-Versionen",
|
||||
"CLONE": "Klonen",
|
||||
"COPY": "Kopieren",
|
||||
"DELETE": "Löschen",
|
||||
"DEPOSIT": "Deposit",
|
||||
"EXPORT": "Exportieren",
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
"SUCCESSFUL-LOGIN": "Successful Login",
|
||||
"SUCCESSFUL-LOGOUT": "Successful Logout",
|
||||
"SUCCESSFUL-EMAIL-SEND": "Email sent successfully",
|
||||
"SUCCESSFUL-COPY-TO-CLIPBOARD": "Copied to Clipboard",
|
||||
"UNSUCCESSFUL-LOGOUT": "Unsuccessful Logout",
|
||||
"UNSUCCESSFUL-LOGIN": "Unsuccessful Login",
|
||||
"SUCCESSFUL-DATASET-PROFILE-DELETE": "Successful Delete",
|
||||
|
@ -470,6 +471,7 @@
|
|||
"START-NEW-VERSION": "Start New Version",
|
||||
"VIEW-VERSION": "All DMP Versions",
|
||||
"CLONE": "Clone",
|
||||
"COPY": "Copy",
|
||||
"DELETE": "Delete",
|
||||
"DEPOSIT": "Deposit",
|
||||
"EXPORT": "Export",
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
"SUCCESSFUL-LOGIN": "Inicio de sesión correcto",
|
||||
"SUCCESSFUL-LOGOUT": "Cierre de sesión correcto",
|
||||
"SUCCESSFUL-EMAIL-SEND": "El mensaje ha sido enviado correctamente",
|
||||
"SUCCESSFUL-COPY-TO-CLIPBOARD": "Copied to Clipboard",
|
||||
"UNSUCCESSFUL-LOGOUT": "Cierre de sesión fallido",
|
||||
"UNSUCCESSFUL-LOGIN": "Inicio de sesión fallido",
|
||||
"SUCCESSFUL-DATASET-PROFILE-DELETE": "Borrado correcto",
|
||||
|
@ -470,6 +471,7 @@
|
|||
"START-NEW-VERSION": "Iniciar una nueva versión",
|
||||
"VIEW-VERSION": "Todas las versiones del PGD",
|
||||
"CLONE": "Clonar",
|
||||
"COPY": "Copiar",
|
||||
"DELETE": "Borrar",
|
||||
"DEPOSIT": "Depositar",
|
||||
"EXPORT": "Exportar",
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
"SUCCESSFUL-LOGIN": "Επιτυχής σύνδεση",
|
||||
"SUCCESSFUL-LOGOUT": "Επιτυχής αποσύνδεση",
|
||||
"SUCCESSFUL-EMAIL-SEND": "Το email στάλθηκε επιτυχώς",
|
||||
"SUCCESSFUL-COPY-TO-CLIPBOARD": "Copied to Clipboard",
|
||||
"UNSUCCESSFUL-LOGOUT": "Αποτυχημένη αποσύνδεση",
|
||||
"UNSUCCESSFUL-LOGIN": "Αποτυχημένη σύνδεση",
|
||||
"SUCCESSFUL-DATASET-PROFILE-DELETE": "Επιτυχής διαγραφή",
|
||||
|
@ -470,6 +471,7 @@
|
|||
"START-NEW-VERSION": "Νέα Έκδοση",
|
||||
"VIEW-VERSION": "Όλες οι Εκδόσεις Σχεδίων Διαχείρισης Δεδομένων",
|
||||
"CLONE": "Κλώνος",
|
||||
"COPY": "Αντιγραφή",
|
||||
"DELETE": "Διαγραφή",
|
||||
"DEPOSIT": "Κατάθεση",
|
||||
"EXPORT": "Εξαγωγή",
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
"SUCCESSFUL-LOGIN": "Úspešné prihlásenie",
|
||||
"SUCCESSFUL-LOGOUT": "Úspešné odhlásenie",
|
||||
"SUCCESSFUL-EMAIL-SEND": "Email úspešne odoslaný",
|
||||
"SUCCESSFUL-COPY-TO-CLIPBOARD": "Copied to Clipboard",
|
||||
"UNSUCCESSFUL-LOGOUT": "Neúspešné odhlásenie",
|
||||
"UNSUCCESSFUL-LOGIN": "Neúspešné prihlásenie",
|
||||
"SUCCESSFUL-DATASET-PROFILE-DELETE": "Úspešne vymazané",
|
||||
|
@ -470,6 +471,7 @@
|
|||
"START-NEW-VERSION": "Začať novú verziu",
|
||||
"VIEW-VERSION": "Všetky verzie DMP",
|
||||
"CLONE": "Klonovať",
|
||||
"COPY": "Kopírovať",
|
||||
"DELETE": "Vymazať",
|
||||
"DEPOSIT": "Vložiť",
|
||||
"EXPORT": "Exportovať",
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
"SUCCESSFUL-LOGIN": "Başarılı Giriş",
|
||||
"SUCCESSFUL-LOGOUT": "Başarılı Çıkış",
|
||||
"SUCCESSFUL-EMAIL-SEND": "E-posta başarıyla gönderildi",
|
||||
"SUCCESSFUL-COPY-TO-CLIPBOARD": "Copied to Clipboard",
|
||||
"UNSUCCESSFUL-LOGOUT": "Başarısız Çıkış",
|
||||
"UNSUCCESSFUL-LOGIN": "Başarısız Giriş",
|
||||
"SUCCESSFUL-DATASET-PROFILE-DELETE": "Silme Başarılı",
|
||||
|
@ -470,6 +471,7 @@
|
|||
"START-NEW-VERSION": "Yeni Sürümü Başlat",
|
||||
"VIEW-VERSION": "Tüm VYP Sürümleri",
|
||||
"CLONE": "Çoğalt",
|
||||
"COPY": "Kopyala",
|
||||
"DELETE": "Sil",
|
||||
"DEPOSIT": "Depozito",
|
||||
"EXPORT": "Dışarı Aktar",
|
||||
|
|
Loading…
Reference in New Issue