Skip to content
Snippets Groups Projects
Commit d87f1777 authored by L. Henze's avatar L. Henze
Browse files

Reducing unnecessary wrapper divs

parent 4d6e5733
No related branches found
No related tags found
No related merge requests found
<div class="container">
<div *ngVar="(parent$ | async) as parent">
<div *ngIf="parent?.payload as parentContext">
<ng-container *ngVar="(parent$ | async) as parent">
<ng-container *ngIf="parent?.payload as parentContext">
<header>
<!-- Parent Name -->
<ds-comcol-page-header [name]="parentContext.name">
......@@ -16,11 +16,11 @@
[content]="parentContext.handle"
[title]="parentContext.type+'.page.handle'" >
</ds-comcol-page-handle>
</header>
<!-- Browse-By Links -->
<ds-comcol-page-browse-by [id]="parentContext.id" [contentType]="parentContext.type"></ds-comcol-page-browse-by>
</header>
</div>
</div>
</ng-container>
</ng-container>
<div class="browse-by-metadata w-100">
<ds-browse-by *ngIf="startsWithOptions" class="col-xs-12 w-100"
title="{{'browse.title' | translate:{collection: (parent$ | async)?.payload?.name || '', field: 'browse.metadata.' + browseId | translate, value: (value)? '&quot;' + value + '&quot;': ''} }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment