add translation to german
This commit is contained in:
parent
fcb6a8f6ca
commit
8db179d07c
12 changed files with 497 additions and 53 deletions
|
@ -1,12 +1,12 @@
|
|||
{% extends "layout/default.html" %}
|
||||
{% block title %}group {{ ou }}{% endblock %}
|
||||
{% block title %}{% trans ou=ou %}group {{ ou }}{% endtrans %}{% endblock %}
|
||||
{% block content %}
|
||||
<table class="table table-hover align-middle">
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th scope="col">uid</th>
|
||||
<th scope="col">cn</th>
|
||||
<th scope="col">remove</th>
|
||||
<th scope="col">{% trans %}uid{% endtrans %}</th>
|
||||
<th scope="col">{% trans %}cn{% endtrans %}</th>
|
||||
<th scope="col">{% trans %}remove member{% endtrans %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -18,7 +18,7 @@
|
|||
<form action="{{ url_for("group_edit", ou=ou) }}" method="post">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
|
||||
<input type="hidden" name="remove" value="{{ member["uid"] }}">
|
||||
<input type="submit" value="remove" class="btn btn-danger">
|
||||
<input type="submit" value="{% trans %}remove{% endtrans %}" class="btn btn-danger">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -28,13 +28,13 @@
|
|||
<form action="{{ url_for("group_edit", ou=ou) }}" method="post" class="row g-3 needs-validation">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
|
||||
<fieldset>
|
||||
<legend>add user to group</legend>
|
||||
<legend>{% trans %}add user to group{% endtrans %}</legend>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="add" class="form-label col-sm-2">user</label>
|
||||
<div class="col-sm-10">
|
||||
<select name="add" id="add" class="form-select">
|
||||
<option value="" selected>select user ...</option>
|
||||
<option value="" selected>{% trans %}select user{% endtrans %}</option>
|
||||
{% for user in other_users|sort %}
|
||||
<option value="{{ user["uid"] }}">{{ user["cn"] }} ({{ user["uid"] }})</option>
|
||||
{% endfor %}
|
||||
|
@ -42,7 +42,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<input type="submit" value="add user" class="btn btn-primary mb-3"><br>
|
||||
<input type="submit" value="{% trans %}add user to group{% endtrans %}" class="btn btn-primary mb-3"><br>
|
||||
</fieldset>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue