mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Added anchors for entity-type thumbs.
This commit is contained in:
@@ -1,10 +1,14 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div *ngIf="showThumbnails" class="col-md-2">
|
<div *ngIf="showThumbnails" class="col-md-2">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'"
|
||||||
[defaultImage]="'assets/images/orgunit-placeholder.svg'"
|
rel="noopener noreferrer"
|
||||||
[alt]="'thumbnail.orgunit.alt'"
|
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
||||||
[placeholder]="'thumbnail.orgunit.placeholder'">
|
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
</ds-thumbnail>
|
[defaultImage]="'assets/images/orgunit-placeholder.svg'"
|
||||||
|
[alt]="'thumbnail.orgunit.alt'"
|
||||||
|
[placeholder]="'thumbnail.orgunit.placeholder'">
|
||||||
|
</ds-thumbnail>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-md-10' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-md-10' : 'col-md-12'">
|
||||||
<ds-type-badge *ngIf="showLabel" [object]="dso"></ds-type-badge>
|
<ds-type-badge *ngIf="showLabel" [object]="dso"></ds-type-badge>
|
||||||
|
@@ -1,10 +1,14 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div *ngIf="showThumbnails" class="col-md-2">
|
<div *ngIf="showThumbnails" class="col-md-2">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'"
|
||||||
[defaultImage]="'assets/images/person-placeholder.svg'"
|
rel="noopener noreferrer"
|
||||||
[alt]="'thumbnail.person.alt'"
|
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
||||||
[placeholder]="'thumbnail.person.placeholder'">
|
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
</ds-thumbnail>
|
[defaultImage]="'assets/images/person-placeholder.svg'"
|
||||||
|
[alt]="'thumbnail.person.alt'"
|
||||||
|
[placeholder]="'thumbnail.person.placeholder'">
|
||||||
|
</ds-thumbnail>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-md-10' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-md-10' : 'col-md-12'">
|
||||||
<ds-type-badge *ngIf="showLabel" [object]="dso"></ds-type-badge>
|
<ds-type-badge *ngIf="showLabel" [object]="dso"></ds-type-badge>
|
||||||
|
@@ -1,10 +1,14 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div *ngIf="showThumbnails" class="col-md-2">
|
<div *ngIf="showThumbnails" class="col-md-2">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'"
|
||||||
[defaultImage]="'assets/images/project-placeholder.svg'"
|
rel="noopener noreferrer"
|
||||||
[alt]="'thumbnail.project.alt'"
|
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
||||||
[placeholder]="'thumbnail.project.placeholder'">
|
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
</ds-thumbnail>
|
[defaultImage]="'assets/images/project-placeholder.svg'"
|
||||||
|
[alt]="'thumbnail.project.alt'"
|
||||||
|
[placeholder]="'thumbnail.project.placeholder'">
|
||||||
|
</ds-thumbnail>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-md-10' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-md-10' : 'col-md-12'">
|
||||||
<ds-truncatable [id]="dso.id">
|
<ds-truncatable [id]="dso.id">
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div *ngIf="showThumbnails" class="col-md-2">
|
<div *ngIf="showThumbnails" class="col-md-2">
|
||||||
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" rel="noopener noreferrer"
|
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" rel="noopener noreferrer"
|
||||||
[routerLink]="[itemPageRoute]" class="lead dont-break-out">
|
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
||||||
</ds-thumbnail>
|
</ds-thumbnail>
|
||||||
</a>
|
</a>
|
||||||
|
Reference in New Issue
Block a user