forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathmy-dspace-new-bulk-import.component.html
More file actions
27 lines (27 loc) · 1.23 KB
/
my-dspace-new-bulk-import.component.html
File metadata and controls
27 lines (27 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<div class="add" *ngIf="!(moreThanOne$ | async)">
<button class="btn btn-md btn-outline-primary" type="button"
attr.aria-label="{{'mydspace.new-bulk-import' | translate}}"
title="{{'mydspace.new-bulk-import' | translate}}"
(click)="openDialog(singleEntity)">
<i class="fa fa-file-upload" aria-hidden="true"></i>
{{'mydspace.new-bulk-import' | translate}}
</button>
</div>
<div class="add w-100" display="dynamic" placement="bottom-right"
ngbDropdown
*ngIf="(moreThanOne$ | async)">
<button class="btn btn-md btn-outline-primary" id="dropdownSubmission" ngbDropdownToggle
type="button" [disabled]="!(initialized$|async)"
attr.aria-label="{{'mydspace.new-bulk-import' | translate}}"
title="{{'mydspace.new-bulk-import' | translate}}">
<i class="fa fa-file-upload" aria-hidden="true"></i>
{{'mydspace.import' | translate}}
<span class="caret"></span>
</button>
<div ngbDropdownMenu
class="dropdown-menu"
id="entityControlsDropdownMenu"
aria-labelledby="dropdownSubmission">
<ds-entity-dropdown [isSubmission]="true" (selectionChange)="openDialog($event)"></ds-entity-dropdown>
</div>
</div>