Update credits panel to handle v2 schema

This commit is contained in:
Zedifus 2022-08-05 23:39:31 +01:00
parent 13a0500e86
commit 0af2def7b0
2 changed files with 7 additions and 3 deletions

View File

@ -342,7 +342,11 @@
<td class="pb-0">
<div class="row">
{% for language in data['translations'][person] %}
<span class="btn btn-sm btn-inverse-success mr-2" style="margin-bottom: 12px;">{{ language }}</span>
{% if language['status'] %}
<span class="btn btn-sm btn-inverse-success mr-2" style="margin-bottom: 12px;">{{ language['name'] }}</span>
{% else %}
<span class="btn btn-sm btn-inverse-secondary mr-2" style="margin-bottom: 12px;">{{ language['name'] }}</span>
{% end %}
{% end %}
</div>
</td>

View File

@ -48,7 +48,7 @@
"subscriptionLevel": "Level",
"supportTeam": "Support and Documentation Team",
"thankYou": "THANK YOU",
"translationDesc": "to our community who translate!",
"translationDesc": "to our community who translate! [ Active = 🟢 Inactive/Retired = ⚪ ]",
"translationName": "Name",
"translationTitle": "Language Translation",
"translator": "Translators"
@ -540,4 +540,4 @@
"userSettings": "User Settings",
"uses": "Number of uses allowed (-1==No Limit)"
}
}
}