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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt (-8 / +7 lines)
Lines 91-104 $(document).ready(function(){ Link Here
91
          [% IF (new) %]
91
          [% IF (new) %]
92
            <h1>New numbering pattern</h1>
92
            <h1>New numbering pattern</h1>
93
            [% IF (error_existing_numberpattern) %]
93
            [% IF (error_existing_numberpattern) %]
94
              <div class="dialog">
94
              <div class="dialog alert">
95
                <p>A pattern with this name already exists.</p>
95
                <p>A pattern with this name already exists.</p>
96
              </div>
96
              </div>
97
            [% END %]
97
            [% END %]
98
          [% ELSE %]
98
          [% ELSE %]
99
            <h1>Modify pattern: [% label %]</h1>
99
            <h1>Modify pattern: [% label %]</h1>
100
            [% IF (error_existing_numberpattern) %]
100
            [% IF (error_existing_numberpattern) %]
101
              <div class="dialog">
101
              <div class="dialog alert">
102
                <p>Another pattern with this name already exists.</p>
102
                <p>Another pattern with this name already exists.</p>
103
              </div>
103
              </div>
104
            [% END %]
104
            [% END %]
Lines 278-284 $(document).ready(function(){ Link Here
278
      [% ELSE %]
278
      [% ELSE %]
279
        <h1>Numbering patterns</h1>
279
        <h1>Numbering patterns</h1>
280
        [% IF still_used %]
280
        [% IF still_used %]
281
            <div class="dialog">
281
            <div class="dialog alert">
282
                <p>
282
                <p>
283
                    This pattern is still used by [% subscriptions.size %]
283
                    This pattern is still used by [% subscriptions.size %]
284
                    subscription(s). Do you still want to delete it?
284
                    subscription(s). Do you still want to delete it?
Lines 292-305 $(document).ready(function(){ Link Here
292
                    [% END %]
292
                    [% END %]
293
                </ul>
293
                </ul>
294
294
295
                <form action="" method="get">
295
                <form action="/cgi-bin/koha/serials/subscription-numberpatterns.pl" method="get">
296
                    <input type="hidden" name="op" value="del" />
296
                    <input type="hidden" name="op" value="del" />
297
                    <input type="hidden" name="confirm" value="1" />
297
                    <input type="hidden" name="confirm" value="1" />
298
                    <input type="hidden" name="id" value="[% id %]" />
298
                    <input type="hidden" name="id" value="[% id %]" />
299
                    <input type="submit" class="approve" value="Yes, delete" />
299
                    <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
300
                </form>
300
                </form>
301
                <form action="" method="get">
301
                <form action="/cgi-bin/koha/serials/subscription-numberpatterns.pl" method="get">
302
                    <input type="submit" class="deny" value="No, don't delete" />
302
                    <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
303
                </form>
303
                </form>
304
            </div>
304
            </div>
305
        [% END %]
305
        [% END %]
306
- 

Return to bug 15983