mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
更新权限节点
This commit is contained in:
1 parent
e092efca20
commit
b22082beba
16 files changed
+88
-87
No files matched your search
@@ -21,7 +21,7 @@
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
{% for family, perms in perm.PERMS_BY_FAMILY %}
|
||||
{% for family, perms in PERMS_BY_FAMILY %}
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="col--family" colspan="{{ (roles|length)+1 }}">
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
</div>
|
||||
<div class="section__body">
|
||||
{% for setting in family_settings %}
|
||||
{% if not setting.hidden %}
|
||||
{% if setting.ui == 'text' or setting.ui == 'password' or setting.ui == 'number' %}
|
||||
{{ form.form_text({
|
||||
type:setting.ui,
|
||||
@@ -61,6 +62,7 @@
|
||||
value:current[setting.key] or setting.value
|
||||
})}}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Reference in new issue
Block a user