Dashboard: Adds public usage label when user is not authenticated

This commit is contained in:
gpapavgeri 2020-08-25 16:07:49 +03:00
parent 355350c8ec
commit 5a76d2fb2f
6 changed files with 11 additions and 4 deletions

View File

@ -133,7 +133,7 @@
</div>
<div class="col-auto">
<div *ngIf="!hasDmps()" class="ml-auto pl-4 personal-usage-block">
<div class="personal-usage">{{'DASHBOARD.PERSONAL-USAGE' | translate}}</div>
<div class="personal-usage">{{'DASHBOARD.PUBLIC-USAGE' | translate}}</div>
<div class="counter-zero">0</div>
<a>{{'DASHBOARD.PUBLIC-DMPS' | translate}}</a>
<div class="counter-zero">0</div>
@ -144,7 +144,7 @@
<a class="link-disabled">{{'DASHBOARD.RELATED-ORGANISATIONS' | translate}}</a>
</div>
<div *ngIf="hasDmps()" class="ml-auto stats">
<div class="personal-usage">{{'DASHBOARD.PERSONAL-USAGE' | translate}}</div>
<div class="personal-usage">{{'DASHBOARD.PUBLIC-USAGE' | translate}}</div>
<div [ngClass]="{'counter': dashboardStatisticsData?.totalDataManagementPlanCount != 0, 'counter-zero': dashboardStatisticsData?.totalDataManagementPlanCount == 0}">
{{dashboardStatisticsData?.totalDataManagementPlanCount}}</div>
<a [routerLink]="['/plans']" class="link">{{'DASHBOARD.PUBLIC-DMPS' | translate}}</a>

View File

@ -1090,7 +1090,9 @@
"MY-DATASETS": "Meine Datensatzbeschreibungen",
"DATASETS": "Datensatzbeschreibungen",
"SEARCH": "SUCHE...",
"DATA-MANAGEMENT-PLANS": "DATENMANAGEMENTPLÄNE"
"DATA-MANAGEMENT-PLANS": "DATENMANAGEMENTPLÄNE",
"PERSONAL-USAGE": "Personal Usage",
"PUBLIC-USAGE": "Public Usage"
},
"USER-DIALOG": {
"USER-PROFILE": "Mein Profil",

View File

@ -1269,6 +1269,7 @@
"SEARCH": "SEARCH...",
"DATA-MANAGEMENT-PLANS": "DATA MANAGEMENT PLANS",
"PERSONAL-USAGE": "Personal Usage",
"PUBLIC-USAGE": "Public Usage",
"DATASET-DESCRIPTIONS": "Dataset Descriptions",
"PUBLIC-DMPS": "Public DMPs",
"PUBLIC-DATASETS": "Public Dataset Descriptions",

View File

@ -1259,6 +1259,7 @@
"SEARCH": "BUSCAR...",
"DATA-MANAGEMENT-PLANS": "PLANES DE GESTIÓN DE DATOS",
"PERSONAL-USAGE": "Uso personal",
"PUBLIC-USAGE": "Public Usage",
"DATASET-DESCRIPTIONS": "Descripciones de los datasets",
"RELATED-ORGANISATIONS": "Organizaciones relacionadas",
"PUBLIC-DMPS": "Public DMPs",

View File

@ -1250,6 +1250,7 @@
"SEARCH": "ΑΝΑΖΗΤΗΣΗ...",
"DATA-MANAGEMENT-PLANS": "ΣΧΕΔΙΑ ΔΙΑΧΕΙΡΙΣΗΣ ΔΕΔΟΜΕΝΩΝ",
"PERSONAL-USAGE": "Προσωπική Χρήση",
"PUBLIC-USAGE": "Public Usage",
"DATASET-DESCRIPTIONS": "Περιγραφές Dataset",
"PUBLIC-DMPS": "Public DMPs",
"PUBLIC-DATASETS": "Public Dataset Descriptions",

View File

@ -1084,7 +1084,9 @@
"MY-DATASETS": "Veriseti Tanımlamalarım",
"DATASETS": "Veriseti Tanımlarım",
"SEARCH": "ARAMA...",
"DATA-MANAGEMENT-PLANS": "VERİ YÖNETİM PLANLARI"
"DATA-MANAGEMENT-PLANS": "VERİ YÖNETİM PLANLARI",
"PERSONAL-USAGE": "Personal Usage",
"PUBLIC-USAGE": "Public Usage"
},
"USER-DIALOG": {
"USER-PROFILE": "Profilim",