3
* Copyright (C) 2019 Xibo Signage Ltd
5
* Xibo - Digital Signage - http://www.xibo.org.uk
7
* This file is part of Xibo.
9
* Xibo is free software: you can redistribute it and/or modify
10
* it under the terms of the GNU Affero General Public License as published by
11
* the Free Software Foundation, either version 3 of the License, or
14
* Xibo is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU Affero General Public License for more details.
19
* You should have received a copy of the GNU Affero General Public License
20
* along with Xibo. If not, see <http://www.gnu.org/licenses/>.
24
{% extends "form-base.twig" %}
25
{% import "forms.twig" as forms %}
28
{% set name = displayGroup.displayGroup %}
29
{% trans %}Copy {{ name }}{% endtrans %}
32
{% block formButtons %}
33
{% trans "Cancel" %}, XiboDialogClose()
34
{% trans "Save" %}, $("#displayGroupCopyForm").submit()
39
<div class="col-md-12">
40
<form id="displayGroupCopyForm" class="XiboForm form-horizontal" method="post" action="{{ urlFor("displayGroup.copy", {id: displayGroup.displayGroupId}) }}">
41
{% set title %}{% trans "Name" %}{% endset %}
42
{% set helpText %}{% trans "The Name for this Display Profile" %}{% endset %}
43
{% set name %}{{ displayGroup.displayGroup }} 2{% endset %}
44
{{ forms.input("displayGroup", title, name, helpText,"","required") }}
46
{% set title %}{% trans "Description" %}{% endset %}
47
{% set helpText %}{% trans "The description for this Display Profile" %}{% endset %}
48
{% set description %}{{ displayGroup.description }}{% endset %}
49
{{ forms.input("description", title, description, helpText) }}
51
{% if displayGroup.isDynamic == 0 %}
52
{% set title %}{% trans "Copy Memebers?" %}{% endset %}
53
{% set helpText %}{% trans "Should we copy all members to the new Display Group?" %}{% endset %}
54
{{ forms.checkbox("copyMembers", title, 0, helpText) }}
57
{% set title %}{% trans "Copy Assignments?" %}{% endset %}
58
{% set helpText %}{% trans "Should we copy all file and layout assignments to the new Display Group?" %}{% endset %}
59
{{ forms.checkbox("copyAssignments", title, 0, helpText) }}
61
{% set title %}{% trans "Copy Tags?" %}{% endset %}
62
{% set helpText %}{% trans "Should we copy all tags to the new Display Group?" %}{% endset %}
63
{{ forms.checkbox("copyTags", title, 0, helpText) }}
b'\\ No newline at end of file'