Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
Elblinator committed Nov 3, 2023
1 parent 055f530 commit 6bb949e
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ <h2>{{ 'Agenda' | translate }}</h2>
<!-- Multiselect info -->
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ <h2>{{ 'Elections' | translate }}</h2>
<!-- Multiselect info -->
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ <h2>{{ 'Files' | translate }}</h2>
</div>

<!-- Multiselect info -->
<div *ngIf="isMultiSelect" class="central-info-slot">
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'seelcted' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ <h2>
<!-- Multiselect info -->
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ <h2>{{ 'Motions' | translate }}</h2>
<!-- Multiselect info -->
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>

<div class="extra-controls-slot">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ <h2>{{ 'Workflows' | translate }}</h2>
<!-- Multiselect info -->
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ <h2>{{ 'Participants' | translate }}</h2>
<!-- Multiselect info -->
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ <h2>{{ 'Accounts' | translate }}</h2>
<!-- Multiselect info -->
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ <h2>{{ 'Committees' | translate }}</h2>
<!-- Multiselect info -->
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ <h2>{{ 'Files' | translate }}</h2>
</div>

<!-- Multiselect info -->
<div *ngIf="isMultiSelect" class="central-info-slot">
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ <h2>{{ 'Meetings' | translate }}</h2>
<!-- Multiselect info -->
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ <h2>{{ 'Tags' | translate }}</h2>
<!-- Multiselect info -->
<div class="central-info-slot">
<button mat-icon-button (click)="toggleMultiSelect()"><mat-icon>arrow_back</mat-icon></button>
<span>{{ selectedRows.length }}&nbsp;</span>
<span>{{ 'selected' | translate }}</span>
<span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
</div>
</os-head-bar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ export const HEAD_BAR_HEIGHT = 50; // height of the head-bar in px.
* <mat-icon>more_vert</mat-icon>
* </button>
* </div>
* <!-- MultiSelect info -->
* <!-- Multiselect info -->
* <div class="central-info-slot">
* <button mat-icon-button (click)="toggleMultiSelect()">
* <mat-icon>arrow_back</mat-icon>
* </button>
* <span>{{ selectedRows.length }}&nbsp;</span><span>selected</span>
* <span>{{ selectedRows.length }}&nbsp;{{ 'selected' | translate }}</span>
* </div>
* </os-head-bar>
* ```
Expand Down

0 comments on commit 6bb949e

Please sign in to comment.