mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-26 21:31:14 +00:00
User Manager app translation
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<table class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Username</th>
|
||||
<th>User Level</th>
|
||||
<th>Peer Groups</th>
|
||||
<th colspan="4">Permissions</th>
|
||||
<th>{% trans 'Username' %}</th>
|
||||
<th>{% trans 'User Level' %}</th>
|
||||
<th>{% trans 'Peer Groups' %}</th>
|
||||
<th colspan="4">{% trans 'Permissions' %}</th>
|
||||
<th><i class="far fa-edit"></i></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -22,34 +23,34 @@
|
||||
<a href="/user/peer-group/manage/?uuid={{ peer_group.uuid }}">{{ peer_group.name }}</a>{% if not forloop.last %}, {% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
Any
|
||||
{% trans 'All' %}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="width: 1%; white-space: nowrap;">
|
||||
{% if user_acl.enable_restart %}
|
||||
<i class="fas fa-power-off" title="Restart Enabled"></i>
|
||||
<i class="fas fa-power-off" title="{% trans 'Restart Enabled' %}"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="width: 1%; white-space: nowrap;">
|
||||
{% if user_acl.enable_reload %}
|
||||
<i class="fas fa-sync-alt" title="Reload Enabled"></i>
|
||||
<i class="fas fa-sync-alt" title="{% trans 'Reload Enabled' %}"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
<td style="width: 1%; white-space: nowrap;">
|
||||
{% if user_acl.enable_console %}
|
||||
<i class="fas fa-terminal" title="Console Enabled"></i>
|
||||
<i class="fas fa-terminal" title="{% trans 'Console Enabled' %}"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
<td style="width: 1%; white-space: nowrap;">
|
||||
{% if user_acl.enable_enhanced_filter %}
|
||||
<i class="fas fa-eye-slash" title="Enhanced Filter Enabled"></i>
|
||||
<i class="fas fa-eye-slash" title="{% trans 'Enhanced Filter Enabled' %}"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
<td style="width: 1%; white-space: nowrap;">
|
||||
<a href="/user/manage/?uuid={{ user_acl.uuid }}" ><i class="far fa-edit"></i></a>
|
||||
<a href="/user/manage/?uuid={{ user_acl.uuid }}" title="{% trans 'Edit' %}"><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<a href="/user/manage/" class="btn btn-primary">Add User</a>
|
||||
<a href="/user/list/" class="btn {% if request.path == '/user/list/' %}btn-outline-primary{% else %}btn-primary{% endif %}">List Users</a>
|
||||
<a href="/user/peer-group/list/" class="btn {% if request.path == '/user/peer-group/list/' %}btn-outline-primary{% else %}btn-primary{% endif %}">List Peer Groups</a>
|
||||
<a href="/user/peer-group/manage/" class="btn btn-primary">Add Peer Group</a>
|
||||
{% load i18n %}
|
||||
<a href="/user/manage/" class="btn btn-primary">{% trans 'Add User' %}</a>
|
||||
<a href="/user/list/" class="btn {% if request.path == '/user/list/' %}btn-outline-primary{% else %}btn-primary{% endif %}">{% trans 'List Users' %}</a>
|
||||
<a href="/user/peer-group/list/" class="btn {% if request.path == '/user/peer-group/list/' %}btn-outline-primary{% else %}btn-primary{% endif %}">{% trans 'List Peer Groups' %}</a>
|
||||
<a href="/user/peer-group/manage/" class="btn btn-primary">{% trans 'Add Peer Group' %}</a>
|
@@ -1,13 +1,14 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Peers</th>
|
||||
<th>Server Instance</th>
|
||||
<th>Users</th>
|
||||
<th>{% trans 'Name' %}</th>
|
||||
<th>{% trans 'Peers' %}</th>
|
||||
<th>{% trans 'Server Instance' %}</th>
|
||||
<th>{% trans 'Users' %}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -31,7 +32,7 @@
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td style="width: 1%; white-space: nowrap;">
|
||||
<a href="/user/peer-group/manage/?uuid={{ peer_group.uuid }}" ><i class="far fa-edit"></i></a>
|
||||
<a href="/user/peer-group/manage/?uuid={{ peer_group.uuid }}" title="{% trans 'Edit' %}"><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user