fix(i18n): fix i18n for services's labels
This commit is contained in:
parent
4be392e35f
commit
bf16a7ebfb
1 changed files with 6 additions and 6 deletions
|
@ -44,19 +44,19 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-card-footer uk-card-media">
|
<div class="uk-card-footer uk-card-media">
|
||||||
{% if service.sources == 'CLOSED' %}
|
{% if service.sources == 'CLOSED' %}
|
||||||
<span class="uk-label uk-label-warning">{{ service.get_sources_display }}</span>
|
<span class="uk-label uk-label-warning">{% trans service.get_sources_display %}</span>
|
||||||
{% elif service.sources == 'OPEN' %}
|
{% elif service.sources == 'OPEN' %}
|
||||||
<span class="uk-label uk-label-success">{{ service.get_sources_display }}</span>
|
<span class="uk-label uk-label-success">{% trans service.get_sources_display %}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="uk-label">{{ service.get_sources_display }}</span>
|
<span class="uk-label">{% trans service.get_sources_display %}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if service.hosted == 'CENT' %}
|
{% if service.hosted == 'CENT' %}
|
||||||
<span class="uk-label uk-label-warning">{{ service.get_hosted_display }}</span>
|
<span class="uk-label uk-label-warning">{% trans service.get_hosted_display %}</span>
|
||||||
{% elif service.hosted == 'FED' %}
|
{% elif service.hosted == 'FED' %}
|
||||||
<span class="uk-label uk-label-success">{{ service.get_hosted_display }}</span>
|
<span class="uk-label uk-label-success">{% trans service.get_hosted_display %}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="uk-label">{{ service.get_hosted_display }}</span>
|
<span class="uk-label">{% trans service.get_hosted_display %}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue