Replace last visited table by last edited table

This commit is contained in:
apapachristou 2019-05-06 10:01:26 +03:00
parent f0bedb1c71
commit ffbcd91c54
3 changed files with 13 additions and 9 deletions

View File

@ -57,16 +57,16 @@
</div>
</div>
<div class="row">
<!-- <div class="row">
<div class="col-lg-12 col-md-12">
<app-recent-visited-activity></app-recent-visited-activity>
</div>
</div>
<!-- <div class="row">
</div> -->
<div class="row">
<div class="col-lg-12 col-md-12">
<app-recent-edited-activity></app-recent-edited-activity>
</div>
</div> -->
</div>
</div>

View File

@ -8,7 +8,8 @@
{{ 'RECENT-ACTIVITY.LICENSE' | translate}}
</p>
</div>
<div class="view-all" [class.clickable]="isAuthenticated()" (click)="navigateToUrl()">{{ 'GENERAL.ACTIONS.VIEW-ALL' | translate}}</div>
<div class="view-all" [class.clickable]="isAuthenticated()" (click)="navigateToUrl()">
{{ 'GENERAL.ACTIONS.VIEW-ALL' | translate}}</div>
</div>
<div class="card-body table-responsive">
<table class="table table-hover">
@ -19,11 +20,12 @@
<th>{{ 'DATASET-PROFILE-LISTING.COLUMNS.ROLE' | translate }}</th>
<th>{{ 'DATASET-PROFILE-LISTING.COLUMNS.ORGANIZATION' | translate }}</th>
<th>{{ 'DATASET-PROFILE-LISTING.COLUMNS.STATUS' | translate }}</th>
<th>{{ 'DATASET-PROFILE-LISTING.COLUMNS.VISITED' | translate }}</th>
<th>{{ 'DATASET-PROFILE-LISTING.COLUMNS.EDITED' | translate }}</th>
<th></th>
</thead>
<tbody *ngIf="dmpActivities != null">
<tr (click)="redirect(activity.id, recentActivityTypeEnum.Dmp)" *ngFor="let activity of dmpActivities" style="cursor: pointer;">
<tr (click)="redirect(activity.id, recentActivityTypeEnum.Dmp)" *ngFor="let activity of dmpActivities"
style="cursor: pointer;">
<td>{{ activity.label }}</td>
<td>
<div class="template-name">
@ -41,7 +43,7 @@
<td *ngIf="activity.status === 0" style="padding-left: 12px">
{{ enumUtils.toDmpStatusString(activity.status) }}
</td>
<td>{{ activity.creationTime | date: "shortDate" }}</td>
<td style="padding-left: 12px">{{ activity.creationTime | date: "shortDate" }}</td>
<td><i class="material-icons more-icon">more_horiz</i></td>
</tr>
</tbody>

View File

@ -339,6 +339,7 @@
"ORGANIZATION": "Organization",
"STATUS": "Status",
"VISITED": "Visited",
"EDITED": "Edited",
"DESCRIPTION": "Description",
"CREATED": "Created",
"ACTIONS": "Actions",
@ -490,7 +491,8 @@
},
"DMP": {
"LIKE": "Search DMPs",
"PROJECTS": "Projects"
"PROJECTS": "Projects",
"SELECT-PROJECTS": "Select Projects"
},
"USERS": {
"LABEL": "Search",