Skip to content

Commit

Permalink
More layout changes
Browse files Browse the repository at this point in the history
  • Loading branch information
reiterl committed Jan 29, 2025
1 parent 634fe69 commit 3b710c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ <h1>{{ poll.title }}</h1>
</div>
</div>
}
<mat-tab-group (selectedTabChange)="onTabChange()">
@if (showResults && poll.stateHasVotes && poll.isEVoting) {
@if (showResults && poll.stateHasVotes && poll.isEVoting) {
<mat-tab-group (selectedTabChange)="onTabChange()">
<mat-tab label="{{ 'Single votes' | translate }}">
<!-- Single Votes Table -->
<div class="named-result-table">
Expand All @@ -75,20 +75,20 @@ <h1>{{ poll.title }}</h1>
[isViewingThis]="isViewingEntitledUserslist"
></os-entitled-users-table>
</mat-tab>
} @else if (poll.isEVoting && poll.isStarted) {
</mat-tab-group>
} @else if (poll.isEVoting && poll.isStarted) {
<mat-tab-group>
<mat-tab label="{{ 'Single votes' | translate }}">
<!-- Single Votes Table -->
<div class="named-result-table">{{ 'No data available' | translate }}</div>
<div class="no-content">{{ 'No data available' | translate }}</div>
</mat-tab>
<mat-tab *osPerms="permission.pollCanManage" label="{{ 'Entitled users' | translate }}">
<os-entitled-users-table
[displayVoteWeight]="displayVoteWeight"
[entitledUsersObservable]="liveRegisterObservable"
[isViewingThis]="isViewingEntitledUserslist"
></os-entitled-users-table>
</mat-tab>
}
</mat-tab-group>
</mat-tab-group>
}
</div>
}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h1>{{ poll.title | translate }}</h1>
} @else if (poll.isEVoting && poll.isStarted) {
<mat-tab-group>
<mat-tab label="{{ 'Single votes' | translate }}">
<div class="named-result-table">
<div class="no-content">
{{ 'No data available' | translate }}
</div>
</mat-tab>
Expand Down

0 comments on commit 3b710c9

Please sign in to comment.