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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt (-15 / +16 lines)
Lines 9-16 Link Here
9
    [% IF op == 'add_form' %]
9
    [% IF op == 'add_form' %]
10
        [% t("New identity provider domain") | html %] ›
10
        [% t("New identity provider domain") | html %] ›
11
    [% ELSIF op == 'edit_form' %]
11
    [% ELSIF op == 'edit_form' %]
12
        [% t("Edit identity provider domain") | html %] ›
12
        [% tx("Modify identity provider domain '{domain}'", {domain = identity_provider_domain.domain}) | html %] ›
13
    [% END %]
13
    [% END %]
14
    [% tx("Domains for '{identity_provider_code}'", {identity_provider_code = identity_provider_code}) | html %] ›
14
    [% t("Identity providers") | html %] ›
15
    [% t("Identity providers") | html %] ›
15
    [% t("Administration") | html %] ›
16
    [% t("Administration") | html %] ›
16
    [% t("Koha") | html %]
17
    [% t("Koha") | html %]
Lines 34-56 Link Here
34
35
35
        [% IF op == 'add_form' %]
36
        [% IF op == 'add_form' %]
36
            [% WRAPPER breadcrumb_item %]
37
            [% WRAPPER breadcrumb_item %]
37
                <a href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&amp;identity_provider_id=[%- identity_provider_id | uri -%]">Domains for [%- identity_provider_code | html -%]</a>
38
                <a href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&amp;identity_provider_id=[%- identity_provider_id | uri -%]">[% tx("Domains for '{identity_provider_code}'", {identity_provider_code = identity_provider_code}) | html %]</a>
38
            [% END %]
39
            [% END %]
39
            [% WRAPPER breadcrumb_item bc_active= 1 %]
40
            [% WRAPPER breadcrumb_item bc_active= 1 %]
40
                <span>New domain</span>
41
                <span>New identity provider domain</span>
41
            [% END %]
42
            [% END %]
42
43
43
        [% ELSIF op == 'edit_form' %]
44
        [% ELSIF op == 'edit_form' %]
44
            [% WRAPPER breadcrumb_item %]
45
            [% WRAPPER breadcrumb_item %]
45
                <a href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&amp;identity_provider_id=[%- identity_provider_id | uri -%]">Domains for [%- identity_provider_code | html -%]</a>
46
                <a href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&amp;identity_provider_id=[%- identity_provider_id | uri -%]">[% tx("Domains for '{identity_provider_code}'", {identity_provider_code = identity_provider_code}) | html %]</a>
46
            [% END %]
47
            [% END %]
47
            [% WRAPPER breadcrumb_item bc_active= 1 %]
48
            [% WRAPPER breadcrumb_item bc_active= 1 %]
48
                <span>Edit domain</span>
49
                [% tx("Modify identity provider domain '{domain}'", {domain = identity_provider_domain.domain}) | html %]
49
            [% END %]
50
            [% END %]
50
51
51
        [% ELSE %]
52
        [% ELSE %]
52
            [% WRAPPER breadcrumb_item bc_active= 1 %]
53
            [% WRAPPER breadcrumb_item bc_active= 1 %]
53
                <span>Domains for [%- identity_provider_code | html -%]</span>
54
                <span>[% tx("Domains for '{identity_provider_code}'", {identity_provider_code = identity_provider_code}) | html %]</span>
54
            [% END %]
55
            [% END %]
55
        [% END %]
56
        [% END %]
56
    [% END #/ WRAPPER breadcrumbs %]
57
    [% END #/ WRAPPER breadcrumbs %]
Lines 82-89 Link Here
82
    <div class="dialog alert"   id="identity_provider_domain_delete_error"   style="display: none;"></div>
83
    <div class="dialog alert"   id="identity_provider_domain_delete_error"   style="display: none;"></div>
83
84
84
[% IF op == 'add_form' %]
85
[% IF op == 'add_form' %]
85
    <h1>New email domain</h1>
86
    <h1>[% tx("New identity provider domain for '{identity_provider_code}'", {identity_provider_code = identity_provider_code}) | html %]</h1>
86
    <div class="page-section">
87
87
        <form action="/cgi-bin/koha/admin/identity_providers.pl" id="add" name="add" class="validated" method="post">
88
        <form action="/cgi-bin/koha/admin/identity_providers.pl" id="add" name="add" class="validated" method="post">
88
            <input type="hidden" name="op" value="add" />
89
            <input type="hidden" name="op" value="add" />
89
            <input type="hidden" name="domain_ops" value="1" />
90
            <input type="hidden" name="domain_ops" value="1" />
Lines 159-170 Link Here
159
                <a class="cancel" href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&amp;identity_provider_id=[%- identity_provider_id | html -%]">Cancel</a>
160
                <a class="cancel" href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&amp;identity_provider_id=[%- identity_provider_id | html -%]">Cancel</a>
160
            </fieldset>
161
            </fieldset>
161
        </form>
162
        </form>
162
    </div>
163
163
[% END %]
164
[% END %]
164
165
165
[% IF op == 'edit_form' %]
166
[% IF op == 'edit_form' %]
166
    <h1>Edit identity provider domain</h1>
167
    <h1>[% tx("Modify identity provider domain '{domain}'", {domain = identity_provider_domain.domain}) | html %]</h1>
167
    <div class="page-section">
168
168
        <form action="/cgi-bin/koha/admin/identity_providers.pl" id="edit_save" name="edit_save" class="validated" method="post">
169
        <form action="/cgi-bin/koha/admin/identity_providers.pl" id="edit_save" name="edit_save" class="validated" method="post">
169
            <input type="hidden" name="op" value="edit_save" />
170
            <input type="hidden" name="op" value="edit_save" />
170
            <input type="hidden" name="domain_ops" value="1" />
171
            <input type="hidden" name="domain_ops" value="1" />
Lines 265-280 Link Here
265
                <a class="cancel" href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&amp;identity_provider_id=[%- identity_provider_id | html -%]">Cancel</a>
266
                <a class="cancel" href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&amp;identity_provider_id=[%- identity_provider_id | html -%]">Cancel</a>
266
            </fieldset>
267
            </fieldset>
267
        </form>
268
        </form>
268
    </div>
269
269
[% END %]
270
[% END %]
270
271
271
[% IF op == 'list' %]
272
[% IF op == 'list' %]
272
273
273
    <div id="toolbar" class="btn-toolbar">
274
    <div id="toolbar" class="btn-toolbar">
274
        <a class="btn btn-default" id="new_identity_provider_domain" href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&amp;identity_provider_id=[%- identity_provider_id | html -%]&amp;op=add_form"><i class="fa fa-plus"></i> New email domain</a>
275
        <a class="btn btn-default" id="new_identity_provider_domain" href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&amp;identity_provider_id=[%- identity_provider_id | html -%]&amp;op=add_form"><i class="fa fa-plus"></i> New identity provider domain</a>
275
    </div>
276
    </div>
276
277
277
    <h1>Identity provider email domains</h1>
278
    <h1>[% tx("Identity provider domains for '{identity_provider_code}'", {identity_provider_code = identity_provider_code}) | html %]</h1>
278
    <div class="page-section">
279
    <div class="page-section">
279
        <table id="identity_provider_domains">
280
        <table id="identity_provider_domains">
280
            <thead>
281
            <thead>
Lines 298-304 Link Here
298
                    <div class="modal-content">
299
                    <div class="modal-content">
299
                        <div class="modal-header">
300
                        <div class="modal-header">
300
                            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
301
                            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
301
                            <h3 id="delete_confirm_modal_label">Delete identity provider domain</h3>
302
                            <h3 id="delete_confirm_modal_label">Confirm deletion of identity provider domain</h3>
302
                        </div>
303
                        </div>
303
                        <div class="modal-body">
304
                        <div class="modal-body">
304
                            <div id="delete_confirm_dialog"></div>
305
                            <div id="delete_confirm_dialog"></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt (-9 / +8 lines)
Lines 9-15 Link Here
9
    [% IF op == 'add_form' %]
9
    [% IF op == 'add_form' %]
10
        [% t("New identity provider") | html %] &rsaquo;
10
        [% t("New identity provider") | html %] &rsaquo;
11
    [% ELSIF op == 'edit_form' %]
11
    [% ELSIF op == 'edit_form' %]
12
        [% t("Edit identity provider") | html %] &rsaquo;
12
        [% tx("Modify identity provider '{id_provider}'", {id_provider = identity_provider.code}) | html %] &rsaquo;
13
    [% END %]
13
    [% END %]
14
    [% t("Identity providers") | html %] &rsaquo;
14
    [% t("Identity providers") | html %] &rsaquo;
15
    [% t("Administration") | html %] &rsaquo;
15
    [% t("Administration") | html %] &rsaquo;
Lines 41-47 Link Here
41
                <a href="/cgi-bin/koha/admin/identity_providers.pl">Identity providers</a>
41
                <a href="/cgi-bin/koha/admin/identity_providers.pl">Identity providers</a>
42
            [% END %]
42
            [% END %]
43
            [% WRAPPER breadcrumb_item bc_active= 1 %]
43
            [% WRAPPER breadcrumb_item bc_active= 1 %]
44
                <span>Edit identity provider</span>
44
                [% tx("Modify identity provider '{id_provider}'", {id_provider = identity_provider.code}) | html %]
45
            [% END %]
45
            [% END %]
46
46
47
        [% ELSE %]
47
        [% ELSE %]
Lines 80-86 Link Here
80
80
81
[% IF op == 'add_form' %]
81
[% IF op == 'add_form' %]
82
    <h1>New identity provider</h1>
82
    <h1>New identity provider</h1>
83
    <div class="page-section">
83
84
        <form action="/cgi-bin/koha/admin/identity_providers.pl" id="add" name="add" class="validated" method="post">
84
        <form action="/cgi-bin/koha/admin/identity_providers.pl" id="add" name="add" class="validated" method="post">
85
            <input type="hidden" name="op" value="add" />
85
            <input type="hidden" name="op" value="add" />
86
            <fieldset class="rows">
86
            <fieldset class="rows">
Lines 229-240 Link Here
229
                <a class="cancel" href="/cgi-bin/koha/admin/identity_providers.pl">Cancel</a>
229
                <a class="cancel" href="/cgi-bin/koha/admin/identity_providers.pl">Cancel</a>
230
            </fieldset>
230
            </fieldset>
231
        </form>
231
        </form>
232
    </div>
232
233
[% END %]
233
[% END %]
234
234
235
[% IF op == 'edit_form' %]
235
[% IF op == 'edit_form' %]
236
    <h1>Edit identity provider</h1>
236
    <h1>[% tx("Modify identity provider '{id_provider}'", {id_provider = identity_provider.code}) | html %]</h1>
237
    <div class="page-section">
237
238
        <form action="/cgi-bin/koha/admin/identity_providers.pl" id="edit_save" name="edit_save" class="validated" method="post">
238
        <form action="/cgi-bin/koha/admin/identity_providers.pl" id="edit_save" name="edit_save" class="validated" method="post">
239
            <input type="hidden" name="op" value="edit_save" />
239
            <input type="hidden" name="op" value="edit_save" />
240
            <input type="hidden" name="identity_provider_id" value="[%- identity_provider.identity_provider_id | html -%]" />
240
            <input type="hidden" name="identity_provider_id" value="[%- identity_provider.identity_provider_id | html -%]" />
Lines 342-348 Link Here
342
                <a class="cancel" href="/cgi-bin/koha/admin/identity_providers.pl">Cancel</a>
342
                <a class="cancel" href="/cgi-bin/koha/admin/identity_providers.pl">Cancel</a>
343
            </fieldset>
343
            </fieldset>
344
        </form>
344
        </form>
345
    </div>
345
346
[% END %]
346
[% END %]
347
347
348
[% IF op == 'list' %]
348
[% IF op == 'list' %]
Lines 371-377 Link Here
371
                    <div class="modal-content">
371
                    <div class="modal-content">
372
                        <div class="modal-header">
372
                        <div class="modal-header">
373
                            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
373
                            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
374
                            <h3 id="delete_confirm_modal_label">Delete identity provider</h3>
374
                            <h3 id="delete_confirm_modal_label">Confirm deletion of identity provider</h3>
375
                        </div>
375
                        </div>
376
                        <div class="modal-body">
376
                        <div class="modal-body">
377
                            <div id="delete_confirm_dialog"></div>
377
                            <div id="delete_confirm_dialog"></div>
378
- 

Return to bug 34406