mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-13 10:03:49 -05:00
change tag selected marker to badge
This commit is contained in:
parent
3f719a21e0
commit
3d8cd0f0d6
@ -1,9 +1,7 @@
|
|||||||
<div class="btn-group" ngbDropdown role="group" (openChange)="dropdownOpenChange($event)">
|
<div class="btn-group" ngbDropdown role="group" (openChange)="dropdownOpenChange($event)">
|
||||||
<button class="btn btn-outline-primary btn-sm" id="dropdown{{title}}" ngbDropdownToggle>
|
<button class="btn btn-outline-primary btn-sm" id="dropdown{{title}}" ngbDropdownToggle>
|
||||||
<ng-container *ngIf="itemsSelected?.length > 0">
|
<ng-container *ngIf="itemsSelected?.length > 0">
|
||||||
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-check" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
<div class="badge bg-primary text-light rounded-pill ml-auto">{{itemsSelected?.length}}</div>
|
||||||
<path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/>
|
|
||||||
</svg>
|
|
||||||
</ng-container>
|
</ng-container>
|
||||||
{{title}}
|
{{title}}
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user