mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
Add translations. Tweak frontend
This commit is contained in:
parent
c1d16522d0
commit
7a98331b1f
@ -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>
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user