Add language selector with english as fallback

This commit is contained in:
Johannes Zellner
2020-10-23 19:10:16 +02:00
parent be45a75e4d
commit 9912698a71
7 changed files with 51 additions and 3 deletions
+6
View File
@@ -361,6 +361,12 @@
{{ user.fallbackEmail }} <a href="" ng-click="fallbackEmailChange.show()" ng-hide="user.source || config.profileLocked"><i class="fa fa-edit text-small"></i></a>
</td>
</tr>
<tr>
<td class="text-muted" style="vertical-align: top;">Language</td>
<td class="text-right" style="vertical-align: top; white-space: nowrap;">
<multiselect ng-model="language" options="lang.label for lang in languages" data-multiple="false" filter-after-rows="5" scroll-after-rows="10"></multiselect>
</td>
</tr>
<tr>
<td class="text-right" colspan="2" style="vertical-align: top;">
<br/>