mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 06:48:24 -04:00
Show checkboxes for users with permission to view the managed folder
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/folder-path.html" import folder_path, page_title_folder_path %}
|
||||
{% from "components/textbox.html" import textbox %}
|
||||
{% from "components/checkbox.html" import checkbox, checkbox_group %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/form.html" import form_wrapper %}
|
||||
|
||||
@@ -24,8 +25,9 @@
|
||||
{% call form_wrapper(action=url_for('main.manage_template_folder', service_id=current_service.id, template_folder_id=template_folder_id)) %}
|
||||
{{ textbox(form.name) }}
|
||||
{% if current_service.has_permission("edit_folder_permissions") %}
|
||||
<p id="users-with-permissions">Users who can see this folder:</p>
|
||||
{{ checkbox_group("Users who can see this folder:", form.viewing_permissions) }}
|
||||
{% endif %}
|
||||
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
delete_link=url_for(
|
||||
|
||||
Reference in New Issue
Block a user