change "All sections" to "No sections" (#12708)

This commit is contained in:
Nikolaj Geisle
2022-07-27 09:31:38 +02:00
committed by GitHub
parent abee27a99f
commit 19b2dee76a
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
<span>
<span class="bold"><localize key="main_sections">Sections</localize>:</span>
<span ng-repeat="section in sections" class="umb-user-group-preview__permission">{{ section.name }}</span>
<span ng-if="sections.length === 0">All sections</span>
<span ng-if="sections.length === 0">No sections</span>
</span>
</div>

View File

@@ -96,7 +96,7 @@
<div class="umb-table-cell">
<div>
<span ng-repeat="section in group.sections">{{ section.name }}<span ng-if="!$last">, </span></span>
<span ng-if="group.sections.length === 0">All sections</span>
<span ng-if="group.sections.length === 0">No sections</span>
</div>
</div>
<div class="umb-table-cell umb-table-cell--small">