mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 19:43:04 +00:00
117287: Removed remaining observable function calls from the HTML templates
This commit is contained in:
@@ -2,18 +2,18 @@
|
||||
#sectionAdd="ngbDropdown"
|
||||
placement="bottom-right"
|
||||
class="d-inline-block"
|
||||
[ngClass]="{'w-100': windowService.isXs()}">
|
||||
[ngClass]="{'w-100': isXs$}">
|
||||
<button class="btn btn-outline-primary dropdown-toggle"
|
||||
id="sectionControls"
|
||||
[disabled]="!(hasSections$ | async)"
|
||||
[ngClass]="{'w-100': (windowService.isXs() | async)}"
|
||||
[ngClass]="{'w-100': (isXs$ | async)}"
|
||||
ngbDropdownToggle>
|
||||
{{ 'submission.sections.general.add-more' | translate }} <i class="fa fa-plus" aria-hidden="true"></i>
|
||||
</button>
|
||||
<div ngbDropdownMenu
|
||||
class="sections-dropdown-menu"
|
||||
aria-labelledby="sectionControls"
|
||||
[ngClass]="{'w-100': (windowService.isXs() | async)}">
|
||||
[ngClass]="{'w-100': (isXs$ | async)}">
|
||||
<button class="dropdown-item disabled" *ngIf="!(hasSections$ | async)">
|
||||
{{ 'submission.sections.general.no-sections' | translate }}
|
||||
</button>
|
||||
|
Reference in New Issue
Block a user