mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 20:27:07 +09:00
Fixed tabs not rendering correctly
This commit is contained in:
1 parent
5a913af9e3
commit
ba2cfcdcd1
2 files changed
+6
-6
No files matched your search
@@ -385,7 +385,7 @@ class Admin extends \Api_Abstract
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns currently loggen in staff member information.
|
||||
* Returns currently logged in staff member information.
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
|
||||
@@ -100,13 +100,12 @@
|
||||
|
||||
<div class="tab-pane fade" id="tab-permissions" role="tabpanel">
|
||||
<div class="card-body">
|
||||
{% set member_name = staff.name %}
|
||||
<h3>{{ '{{ member_name }} permissions'|trans }}</h3>
|
||||
<h3>{{ staff.name }} {{ 'permissions'|trans }}</h3>
|
||||
|
||||
{% if staff.role == 'admin' %}
|
||||
<p>{{ 'Administrator account is allowed to do everything'|trans }}</p>
|
||||
<p>{{ 'This administrator is allowed to do everything'|trans }}</p>
|
||||
</div>
|
||||
{% else %}
|
||||
</div>
|
||||
|
||||
{% set prms = admin.staff_permissions_get({ 'id': staff.id }) %}
|
||||
<form method="post" action="admin/staff/permissions_update" class="api-form" data-api-msg="{{ 'Permissions updated'|trans }}">
|
||||
@@ -140,6 +139,7 @@
|
||||
<input type="submit" value="{{ 'Save'|trans }}" class="btn btn-primary w-100">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
<div class="tab-pane fade" id="tab-api" role="tabpanel">
|
||||
<div class="card-body">
|
||||
<h3>{{ 'API key'|trans }}</h3>
|
||||
<p class="text-muted">{{ 'Api key is used to manage system via other interfaces.'|trans }}</p>
|
||||
<p class="text-muted">{{ 'API keys are used to manage the system via other interfaces.'|trans }}</p>
|
||||
|
||||
<form method="post" action="admin/profile/generate_api_key" class="api-form" data-api-reload="1">
|
||||
<div class="mb-3 row">
|
||||
|
||||
Reference in new issue
Block a user