Add translations. Tweak frontend

This commit is contained in:
amcmanu3 2022-08-19 15:08:35 -04:00
parent c1d16522d0
commit 7a98331b1f
2 changed files with 8 additions and 7 deletions

View File

@ -123,7 +123,8 @@ data['lang']) }}{% end %}
</div>
{% if data['superuser'] %}
<div class="form-group">
<label class="form-label" for="manager">Select The User's Manager
<label class="form-label" for="manager">{{ translate('userConfig', 'selectManager',
data['lang']) }}
</label>
<select class="form-select form-control form-control-lg select-css" id="manager" name="manager"
form="user_form">
@ -288,6 +289,8 @@ data['lang']) }}{% end %}
<br />
{{ translate('userConfig', 'lastIP', data['lang']) }} {{ data['user']['last_ip'] }}
<br />
{{ translate('userConfig', 'manager', data['lang'])}}: {{data['manager']['username'] }}
<br />
</p>
</blockquote>
</div>
@ -306,10 +309,6 @@ data['lang']) }}{% end %}
translate('userConfig', 'deleteUserB', data['lang']) }}</a>
{% end %}</button>
<br>
<br>
<h4>Manager: {{data['manager']['username'] }}</h4>
</div>
</div>
</div>

View File

@ -556,6 +556,8 @@
"userRoles": "User Roles",
"userRolesDesc": "Roles this user is a member of.",
"userSettings": "User Settings",
"uses": "Number of uses allowed (-1==No Limit)"
"uses": "Number of uses allowed (-1==No Limit)",
"manager": "Manager",
"selectManager": "Select Manager for User"
}
}
}