mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 20:13:07 +00:00
Fixed build errors
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<div class="form-login px-4">
|
<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>
|
<button class="btn btn-lg btn-primary btn-block mt-3" (click)="logOut()">{{"logout.form.submit" | translate}}</button>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -25,6 +25,7 @@ export class LogOutComponent implements OnInit {
|
|||||||
/**
|
/**
|
||||||
* @constructor
|
* @constructor
|
||||||
* @param {Store<State>} store
|
* @param {Store<State>} store
|
||||||
|
* @param {Router} router
|
||||||
*/
|
*/
|
||||||
constructor(private router: Router,
|
constructor(private router: Router,
|
||||||
private store: Store<AppState>) {
|
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),
|
[ngClass]="{'float-left': (type == 'outbound' && isSubmitter) || (type == 'inbound' && !isSubmitter),
|
||||||
'float-right': (type == 'outbound' && !isSubmitter) || (type == 'inbound' && isSubmitter),
|
'float-right': (type == 'outbound' && !isSubmitter) || (type == 'inbound' && isSubmitter),
|
||||||
'clearfix':1}">
|
'clearfix':1}">
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
<div class="header clearfix">
|
<div class="header clearfix">
|
||||||
|
|
||||||
<small class="float-left">
|
<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>
|
||||||
|
|
||||||
<small
|
<small
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
<div class="truncatable">
|
<div class="truncatable">
|
||||||
<ds-truncatable [id]="m.uuid">
|
<ds-truncatable [id]="m.uuid">
|
||||||
<ds-truncatable-part [id]="m.uuid" [minLines]="1">
|
<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-part>
|
||||||
</ds-truncatable>
|
</ds-truncatable>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user