- add autoblack
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Geschwärzt</th>
|
||||
<th>Auto-Schwärzen</th>
|
||||
<th>Schulden</th>
|
||||
<th>Bezahlt</th>
|
||||
<th></th>
|
||||
@@ -23,6 +24,7 @@
|
||||
<tr>
|
||||
<td>{{user.longname}}</td>
|
||||
<td>{% if user.isblack %} ☑ {% else %} ☐ {% endif %}</td>
|
||||
<td>{% if user.autoblack %} ☑ {% else %} ☐ {% endif %}</td>
|
||||
<td>{{debt[user.id-1]}} € </td>
|
||||
<td> <input type="number" name="{{user.name}}_payed" step="any" required value="0" /> € </td>
|
||||
<td>Einzelne Rechnung <a href="/billing/send_personal_bill/{{user.name}}">versenden</a></td>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<th>Geschwärzt</th>
|
||||
<th>Baron</th>
|
||||
<th>Angezeigt</th>
|
||||
<th>Auto-Schwärzen</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
{% for user in users %}
|
||||
@@ -25,6 +26,7 @@
|
||||
<td>{% if user.isblack %} ☑ {% else %} ☐ {% endif %} </td>
|
||||
<td>{% if user.isbaron %} ☑ {% else %} ☐ {% endif %} </td>
|
||||
<td>{% if user.isshown %} ☑ {% else %} ☐ {% endif %} </td>
|
||||
<td>{% if user.autoblack %} ☑ {% else %} ☐ {% endif %} </td>
|
||||
<td> <a href="/manage_users/edit/{{user.name}}">bearbeiten</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
Geschwärzt: <input type="checkbox" name="isblack" {% if user_to_edit.isblack %} checked {% endif %} /> <br>
|
||||
Baron: <input type="checkbox" name="isbaron" {% if user_to_edit.isbaron %} checked {% endif %} /> <br>
|
||||
Angezeigt: <input type="checkbox" name="isshown" {% if user_to_edit.isshown %} checked {% endif %} /><br>
|
||||
Auto-Schwärzen: <input type="checkbox" name="autoblack" {% if user_to_edit.autoblack %} checked {% endif %} /><br>
|
||||
<input type="submit" value="Übernehmen" />
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user