View | Details | Raw Unified | Return to bug 20035
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt (-3 / +4 lines)
Lines 25-33 Link Here
25
    [% END %]
25
    [% END %]
26
</div>
26
</div>
27
27
28
<div id="doc" class="yui-t7">
28
<div class="main container-fluid">
29
    <div id="bd">
29
    <div class="row">
30
        <div class="yui-main">
30
        <div class="col-md-8 col-md-offset-2">
31
31
            <form method="post" class="validated">
32
            <form method="post" class="validated">
32
                <input type="hidden" name="id" value="[% club.id %]" />
33
                <input type="hidden" name="id" value="[% club.id %]" />
33
                <input type="hidden" name="club_template_id" value="[% club_template.id %]" />
34
                <input type="hidden" name="club_template_id" value="[% club_template.id %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt (-13 / +12 lines)
Lines 28-36 Link Here
28
    [% END %]
28
    [% END %]
29
</div>
29
</div>
30
30
31
<div id="doc" class="yui-t7">
31
<div class="main container-fluid">
32
    <div id="bd">
32
    <div class="row">
33
        <div class="yui-main">
33
        <div class="col-md-8 col-md-offset-2">
34
34
            <form method="post" class="validated">
35
            <form method="post" class="validated">
35
                <input type="hidden" name="id" value="[% club_template.id %]" />
36
                <input type="hidden" name="id" value="[% club_template.id %]" />
36
37
Lines 52-63 Link Here
52
                        </li>
53
                        </li>
53
54
54
                        <li>
55
                        <li>
55
                            <label for="description">Description:</label>
56
                            <label for="club-template-description">Description:</label>
56
                            <input id="club-template-description" name="description" type="text" value="[% club_template.description %]" />
57
                            <input id="club-template-description" name="description" type="text" value="[% club_template.description %]" />
57
                        </li>
58
                        </li>
58
59
59
                        <li>
60
                        <li>
60
                            <label for="is_enrollable_from_opac">Allow public enrollment:</label>
61
                            <label for="club-template-is-enrollable-from-opac">Allow public enrollment:</label>
61
                            [% IF club_template.is_enrollable_from_opac %]
62
                            [% IF club_template.is_enrollable_from_opac %]
62
                                <input type="checkbox" id="club-template-is-enrollable-from-opac" name="is_enrollable_from_opac" checked="checked" />
63
                                <input type="checkbox" id="club-template-is-enrollable-from-opac" name="is_enrollable_from_opac" checked="checked" />
63
                            [% ELSE %]
64
                            [% ELSE %]
Lines 67-73 Link Here
67
                        </li>
68
                        </li>
68
69
69
                        <li>
70
                        <li>
70
                            <label for="is_email_required">Require valid email address:</label>
71
                            <label for="club-template-is-email-required">Require valid email address:</label>
71
                            [% IF club_template.is_email_required %]
72
                            [% IF club_template.is_email_required %]
72
                                <input type="checkbox" id="club-template-is-email-required" name="is_email_required" checked="checked" />
73
                                <input type="checkbox" id="club-template-is-email-required" name="is_email_required" checked="checked" />
73
                            [% ELSE %]
74
                            [% ELSE %]
Lines 77-83 Link Here
77
                        </li>
78
                        </li>
78
79
79
                        <li>
80
                        <li>
80
                            <label for="branchcode">Library:</label>
81
                            <label for="club-template-branchcode">Library:</label>
81
                            <select name="branchcode" id="club-template-branchcode">
82
                            <select name="branchcode" id="club-template-branchcode">
82
                                <option value=""></option>
83
                                <option value=""></option>
83
                                [% PROCESS options_for_libraries libraries => Branches.all( selected => club_template.branchcode ) %]
84
                                [% PROCESS options_for_libraries libraries => Branches.all( selected => club_template.branchcode ) %]
Lines 107-113 Link Here
107
                                    </li>
108
                                    </li>
108
109
109
                                    <li>
110
                                    <li>
110
                                        <label for="field-description-[% f.id %]">Authorised value category:</label>
111
                                        <label for="field-authorised-value-category-[% f.id %]">Authorised value category:</label>
111
                                        <select name="club_template_field_authorised_value_category" id="field-authorised-value-category-[% f.id %]">
112
                                        <select name="club_template_field_authorised_value_category" id="field-authorised-value-category-[% f.id %]">
112
                                            <option value=""></option>
113
                                            <option value=""></option>
113
                                            [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => f.authorised_value_category) %]
114
                                            [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => f.authorised_value_category) %]
Lines 152-158 Link Here
152
                                    </li>
153
                                    </li>
153
154
154
                                    <li>
155
                                    <li>
155
                                        <label for="enrollment-field-description-[% f.id %]">Authorised value category:</label>
156
                                        <label for="enrollment-field-authorised-value-category-[% f.id %]">Authorised value category:</label>
156
                                        <select name="club_template_enrollment_field_authorised_value_category" id="enrollment-field-authorised-value-category-[% f.id %]">
157
                                        <select name="club_template_enrollment_field_authorised_value_category" id="enrollment-field-authorised-value-category-[% f.id %]">
157
                                            <option value=""></option>
158
                                            <option value=""></option>
158
                                            [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => f.authorised_value_category) %]
159
                                            [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => f.authorised_value_category) %]
Lines 181-188 Link Here
181
                </fieldset>
182
                </fieldset>
182
            </form>
183
            </form>
183
184
184
        </div> <!-- /#yui-main -->
185
        </div> <!-- /.col-md-8 .col-md-offset-2 -->
185
    </div> <!-- /#bd -->
186
    </div> <!-- /.row -->
186
187
187
188
188
<div id="new-field-template" class="club-field" style="display:none">
189
<div id="new-field-template" class="club-field" style="display:none">
Lines 236-242 Link Here
236
        </li>
237
        </li>
237
    </ol>
238
    </ol>
238
    <fieldset class="action"><a href="#" onclick="$(this).parent().parent().remove(); return false;"><i class="fa fa-trash"></i> Delete field</a></fieldset>
239
    <fieldset class="action"><a href="#" onclick="$(this).parent().parent().remove(); return false;"><i class="fa fa-trash"></i> Delete field</a></fieldset>
239
    </div>
240
</div>
240
</div>
241
241
242
[% INCLUDE 'intranet-bottom.inc' %]
242
[% INCLUDE 'intranet-bottom.inc' %]
243
- 

Return to bug 20035