Adding the user id to the display for reference files and workflow spec files.

This commit is contained in:
Dan 2021-07-07 12:04:33 -04:00
parent c5149cee74
commit 7584ee4db8
4 changed files with 9 additions and 5 deletions

6
package-lock.json generated
View File

@ -12524,9 +12524,9 @@
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"sartography-workflow-lib": {
"version": "0.0.520",
"resolved": "https://registry.npmjs.org/sartography-workflow-lib/-/sartography-workflow-lib-0.0.520.tgz",
"integrity": "sha512-3woDyQWCh5IYvEqW7vGCD+Wpe/FXVmQzR8RfmbVU6SGLECUpbmiDa5dALBJ1plYGlqvSE1hrEAvtp6VznTWzwQ=="
"version": "0.0.522",
"resolved": "https://registry.npmjs.org/sartography-workflow-lib/-/sartography-workflow-lib-0.0.522.tgz",
"integrity": "sha512-icckLPZJBqCdxekG1UpsqpWP0DD+uBgJbLjCqYr6JXMPEsouVbyH4q7EJSP5V8uBpWLHFDEaDIG/pY7hqmgmDw=="
},
"sass": {
"version": "1.26.3",

View File

@ -55,7 +55,7 @@
"ngx-markdown": "^9.1.1",
"protractor": "^7.0.0",
"rxjs": "~6.5.4",
"sartography-workflow-lib": "0.0.520",
"sartography-workflow-lib": "0.0.522",
"tslib": "^1.13.0",
"uuid": "^7.0.2",
"zone.js": "^0.10.3"

View File

@ -17,7 +17,9 @@
</button>
</ng-container>
<h4 (click)="editFile(fm)" mat-line>{{fm.name}}</h4>
<p (click)="editFile(fm)" mat-line> Updated: {{fm.last_modified | date:'medium'}}</p>
<p (click)="editFile(fm)" mat-line> Updated on {{fm.last_modified | date:'medium'}}
<span *ngIf="fm.user_uid"> by {{fm.user_uid}}</span>
</p>
<button (click)="downloadFile(fm)" class="mat-elevation-z0" color="primary" mat-icon-button>
<mat-icon>save_alt</mat-icon>
</button>

View File

@ -12,6 +12,8 @@
</mat-card-title>
</mat-card-header>
<mat-card-content>
<div>Last Modified: {{refFile.last_modified | date:'medium'}}</div>
<div *ngIf="refFile.user_uid">By: {{refFile.user_uid}}</div>
<hr>
</mat-card-content>
<mat-card-footer>