Skip to content

Commit 477ea93

Browse files
authored
Merge pull request DSpace#2721 from alanorth/fix-community-cdk-tree-links
Fix whitespace in links due to newlines
2 parents 1c782b2 + 7207bbb commit 477ea93

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

src/app/community-list-page/community-list/community-list.component.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@
3535
</button>
3636
<div class="d-flex flex-row">
3737
<span class="align-middle pt-2 lead">
38-
<a [routerLink]="node.route" class="lead">
39-
{{ dsoNameService.getName(node.payload) }}
40-
</a>
38+
<a [routerLink]="node.route" class="lead">{{ dsoNameService.getName(node.payload) }}</a>
4139
<span class="pr-2">&nbsp;</span>
4240
<span *ngIf="node.payload.archivedItemsCount >= 0" class="badge badge-pill badge-secondary align-top archived-items-lead">{{node.payload.archivedItemsCount}}</span>
4341
</span>
@@ -73,9 +71,7 @@
7371
<span class="fa fa-chevron-right invisible" aria-hidden="true"></span>
7472
</button>
7573
<h6 class="align-middle pt-2">
76-
<a [routerLink]="node.route" class="lead">
77-
{{ dsoNameService.getName(node.payload) }}
78-
</a>
74+
<a [routerLink]="node.route" class="lead">{{ dsoNameService.getName(node.payload) }}</a>
7975
</h6>
8076
</div>
8177
<ds-truncatable [id]="node.id">

src/app/item-page/field-components/metadata-values/metadata-values.component.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,5 @@
3232
<ng-template #browselink let-value="value">
3333
<a class="dont-break-out preserve-line-breaks ds-browse-link"
3434
[routerLink]="['/browse', browseDefinition.id]"
35-
[queryParams]="getQueryParams(value)">
36-
{{value}}
37-
</a>
35+
[queryParams]="getQueryParams(value)">{{value}}</a>
3836
</ng-template>

0 commit comments

Comments
 (0)