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&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&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&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&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&identity_provider_id=[%- identity_provider_id | html -%]">Cancel</a> |
160 |
<a class="cancel" href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&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&identity_provider_id=[%- identity_provider_id | html -%]">Cancel</a> |
266 |
<a class="cancel" href="/cgi-bin/koha/admin/identity_providers.pl?domain_ops=1&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&identity_provider_id=[%- identity_provider_id | html -%]&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&identity_provider_id=[%- identity_provider_id | html -%]&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> |