mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 19:43:04 +00:00
Fixed build errors
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div class="form-login px-4">
|
||||
|
||||
<div *ngIf="(error | async) && hasError" class="alert alert-danger" role="alert" @fadeOut>{{ error | async }}</div>
|
||||
<div *ngIf="(error | async)" class="alert alert-danger" role="alert" @fadeOut>{{ error | async }}</div>
|
||||
|
||||
<button class="btn btn-lg btn-primary btn-block mt-3" (click)="logOut()">{{"logout.form.submit" | translate}}</button>
|
||||
</div>
|
||||
|
@@ -25,6 +25,7 @@ export class LogOutComponent implements OnInit {
|
||||
/**
|
||||
* @constructor
|
||||
* @param {Store<State>} store
|
||||
* @param {Router} router
|
||||
*/
|
||||
constructor(private router: Router,
|
||||
private store: Store<AppState>) {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<li *ngVar="m.findMetadata('dc.type') as type"
|
||||
<li *ngVar="m.firstMetadataValue('dc.type') as type"
|
||||
[ngClass]="{'float-left': (type == 'outbound' && isSubmitter) || (type == 'inbound' && !isSubmitter),
|
||||
'float-right': (type == 'outbound' && !isSubmitter) || (type == 'inbound' && isSubmitter),
|
||||
'clearfix':1}">
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="header clearfix">
|
||||
|
||||
<small class="float-left">
|
||||
<span class="fa fa-clock text-muted ">{{m.findMetadata('dc.date.issued') | date: 'dd/MM/yyyy HH:mm'}}</span>
|
||||
<span class="fa fa-clock text-muted ">{{m.firstMetadataValue('dc.date.issued') | date: 'dd/MM/yyyy HH:mm'}}</span>
|
||||
</small>
|
||||
|
||||
<small
|
||||
@@ -27,7 +27,7 @@
|
||||
<div class="truncatable">
|
||||
<ds-truncatable [id]="m.uuid">
|
||||
<ds-truncatable-part [id]="m.uuid" [minLines]="1">
|
||||
<label>From: <span><strong>{{isSubmitter && type == 'inbound' ? 'You' : m.findMetadata('dc.creator')}}</strong></span></label>
|
||||
<label>From: <span><strong>{{isSubmitter && type == 'inbound' ? 'You' : m.firstMetadataValue('dc.creator')}}</strong></span></label>
|
||||
</ds-truncatable-part>
|
||||
</ds-truncatable>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user