mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
* [i18n] Optimize translation labels * Usage of ng-if instead of ng-show
This commit is contained in:
parent
a228bf6947
commit
9d0d7894e8
1 changed files with 7 additions and 11 deletions
|
@ -75,23 +75,19 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- NoResults -->
|
<!-- NoResults -->
|
||||||
<div class="kuiPanel kuiPanel--centered" ng-show="!(roles | filter:query).length">
|
<div class="kuiPanel kuiPanel--centered" ng-if="!(roles | filter:query).length">
|
||||||
<div
|
<div
|
||||||
class="kuiNoItems"
|
class="kuiNoItems"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
i18n-id="xpack.security.management.roles.noFoundMatchingRolesDescription1"
|
ng-if="query"
|
||||||
i18n-default-message="No "
|
i18n-id="xpack.security.management.roles.noMatchingResultsLabel"
|
||||||
i18n-context="Part of composite label xpack.security.management.roles.noFoundMatchingRolesDescription1 + {matchingText} + xpack.security.management.roles.noFoundMatchingRolesDescription2"
|
i18n-default-message="No matching roles found"
|
||||||
></span>
|
></span>
|
||||||
<span
|
<span
|
||||||
ng-show="query"
|
ng-if="!query"
|
||||||
i18n-id="xpack.security.management.roles.matchingText"
|
i18n-id="xpack.security.management.roles.noResultsLabel"
|
||||||
i18n-default-message="matching"
|
i18n-default-message="No roles found"
|
||||||
></span>
|
|
||||||
<span
|
|
||||||
i18n-id="xpack.security.management.roles.noFoundMatchingRolesDescription2"
|
|
||||||
i18n-default-message=" roles found"
|
|
||||||
></span>
|
></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue