0byt3m1n1
Path:
/
home
/
mgatv524
/
mctv.mgaplay.com.br
/
views
/
[
Home
]
File: usergroup-form-members.twig
{# /** * Copyright (C) 2020 Xibo Signage Ltd * * Xibo - Digital Signage - http://www.xibo.org.uk * * This file is part of Xibo. * * Xibo is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * Xibo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Xibo. If not, see <http://www.gnu.org/licenses/>. */ #} {% set randomId = random() %} {% extends "form-base.twig" %} {% import "forms.twig" as forms %} {% block formTitle %} {% trans "Manage Membership" %} {% endblock %} {% block formButtons %} {% trans "Help" %}, XiboHelpRender("{{ help.permissions }}") {% trans "Cancel" %}, XiboDialogClose() {% trans "Save" %}, membersFormSubmit("{{ randomId }}") {% endblock %} {% block callBack %}membersFormOpen{% endblock %} {% block formHtml %} <div class="row"> <div class="col-md-12"> <div id="{{ randomId }}" class="div-horizontal" data-param="userId" data-param-unassign="unassignUserId" data-url="{{ url_for("group.members.assign", {id: group.groupId}) }}" > {% set helpText %}{% trans %}Check or un-check the options against each user to control whether they are a member or not.{% endtrans %}{% endset %} {{ forms.message(helpText) }} <table class="table table-bordered membersTable"> <tr> <th>{{ group.group }}</th> <th>{% trans "Member" %}</th> </tr> {% for item in checkboxes %} <tr> <td>{{ item.name }}</td> <td><input type="checkbox" data-member-id="{{ item.id }}" {{ item.value_checked }}></td> </tr> {% endfor %} </table> </div> </div> </div> {% endblock %}