Lines 1-9
Link Here
|
|
|
1 |
[% PROCESS 'i18n.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Web installer › |
3 |
<title>[% t('Koha › Web installer ›') %] |
3 |
[% IF all_done %] |
4 |
[% IF all_done %] |
4 |
Complete |
5 |
[% t('Complete') %] |
5 |
[% ELSE %] |
6 |
[% ELSE %] |
6 |
Create circulation rule |
7 |
[% t('Create circulation rule') %] |
7 |
[% END %] |
8 |
[% END %] |
8 |
</title> |
9 |
</title> |
9 |
[% INCLUDE 'installer-doc-head-close.inc' %] |
10 |
[% INCLUDE 'installer-doc-head-close.inc' %] |
Lines 16-90
Link Here
|
16 |
<div class="container-fluid"> |
17 |
<div class="container-fluid"> |
17 |
<div class="row"> |
18 |
<div class="row"> |
18 |
<div id="onboarding-step5" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> |
19 |
<div id="onboarding-step5" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> |
19 |
<h1 id="logo"><a href="#">Koha</a></h1> |
20 |
<h1 id="logo"><a href="#">[% t('Koha') %]</a></h1> |
20 |
|
21 |
|
21 |
[% IF all_done %] |
22 |
[% IF all_done %] |
22 |
|
23 |
|
23 |
<h2>Web installer › Complete</h2> |
24 |
<h2>[% t('Web installer › Complete') %]</h2> |
24 |
[% INCLUDE 'onboarding_messages.inc' %] |
25 |
[% INCLUDE 'onboarding_messages.inc' %] |
25 |
<h3>Congratulations you have finished and are ready to use Koha</h3> |
26 |
<h3>[% t('Congratulations you have finished and are ready to use Koha') %]</h3> |
26 |
<a class="btn btn-success" href="/cgi-bin/koha/mainpage.pl">Start using Koha</a> |
27 |
<a class="btn btn-success" href="/cgi-bin/koha/mainpage.pl">[% t('Start using Koha') %]</a> |
27 |
|
28 |
|
28 |
[% ELSE %] |
29 |
[% ELSE %] |
29 |
|
30 |
|
30 |
<h2>Web installer › Create a new circulation rule </h2> |
31 |
<h2>[% t('Web installer › Create a new circulation rule') %] </h2> |
31 |
|
32 |
|
32 |
[% INCLUDE 'onboarding_messages.inc' %] |
33 |
[% INCLUDE 'onboarding_messages.inc' %] |
33 |
|
34 |
|
34 |
<form name="createcirculationrule" method="post" action="onboarding.pl"> |
35 |
<form name="createcirculationrule" method="post" action="onboarding.pl"> |
35 |
<fieldset class="rows"> |
36 |
<fieldset class="rows"> |
36 |
<input type="hidden" name="step" value="5"/> |
37 |
<input type="hidden" name="step" value="5" /> |
37 |
<input type="hidden" name="op" value="add_validate_circ_rule" /> |
38 |
<input type="hidden" name="op" value="add_validate_circ_rule" /> |
38 |
<ol> |
39 |
<ol> |
39 |
<li> |
40 |
<li> |
40 |
<label for="branchname" class="required"> Library branch</label> |
41 |
<label for="branchname" class="required"> [% t('Library branch') %]</label> |
41 |
<select name="branch" id="branchname" required="required"> |
42 |
<select name="branch" id="branchname" required="required"> |
42 |
<option value=""> Choose</option> |
43 |
<option value=""> [% t('Choose') %]</option> |
43 |
<option value="*" selected="selected">All</option> |
44 |
<option value="*" selected="selected">[% t('All') %]</option> |
44 |
[% FOREACH library IN libraries %] |
45 |
[% FOREACH library IN libraries %] |
45 |
<option value="[% library.branchcode %]"> [% library.branchname %]</option> |
46 |
<option value="[% library.branchcode %]"> [% library.branchname %]</option> |
46 |
[% END %] |
47 |
[% END %] |
47 |
</select> |
48 |
</select> |
48 |
<span class="required">Required</span> |
49 |
<span class="required">[% t('Required') %]</span> |
49 |
</li> |
50 |
</li> |
50 |
<li> |
51 |
<li> |
51 |
<label for="categorycode" class="required">Patron category: </label> |
52 |
<label for="categorycode" class="required">[% t('Patron category:') %] </label> |
52 |
<select name="categorycode" id="categorycode" required="required"> |
53 |
<select name="categorycode" id="categorycode" required="required"> |
53 |
<option value=""> Choose</option> |
54 |
<option value=""> [% t('Choose') %]</option> |
54 |
<option value="*" selected="selected">All</option> |
55 |
<option value="*" selected="selected">[% t('All') %]</option> |
55 |
[% FOREACH category IN categories %] |
56 |
[% FOREACH category IN categories %] |
56 |
<option value = "[% category.categorycode %]"> [%category.description %]</option> |
57 |
<option value="[% category.categorycode %]"> [%category.description %]</option> |
57 |
[%END%] |
58 |
[%END%] |
58 |
</select> |
59 |
</select> |
59 |
<span class="required">Required</span> |
60 |
<span class="required">[% t('Required') %]</span> |
60 |
</li> |
61 |
</li> |
61 |
|
62 |
|
62 |
<li> |
63 |
<li> |
63 |
<label for="itemtype"> Item type: </label> |
64 |
<label for="itemtype"> [% t('Item type:') %] </label> |
64 |
<select id="itemtype" name="itemtype" required="required"> |
65 |
<select id="itemtype" name="itemtype" required="required"> |
65 |
<option value=""> Choose </option> |
66 |
<option value=""> [% t('Choose') %] </option> |
66 |
<option value="*" selected="selected">All</option> |
67 |
<option value="*" selected="selected">[% t('All') %]</option> |
67 |
[% FOREACH item IN itemtypes %] |
68 |
[% FOREACH item IN itemtypes %] |
68 |
<option value = "[% item.itemtype %]"> [% item.itemtype %] |
69 |
<option value="[% item.itemtype %]"> [% item.itemtype %] |
69 |
[%END%] |
70 |
[%END%] |
70 |
</select> |
71 |
</select> |
71 |
<span class="required"> Required</span> |
72 |
<span class="required"> [% t('Required') %]</span> |
72 |
</li> |
73 |
</li> |
73 |
<li> |
74 |
<li> |
74 |
<label for="maxissueqty" class="required">Current checkouts allowed: </label> |
75 |
<label for="maxissueqty" class="required">[% t('Current checkouts allowed:') %] </label> |
75 |
<input type="number" min="0" name="maxissueqty" id="maxissueqty" size="10" value="50" class="required" required="required" /> |
76 |
<input type="number" min="0" name="maxissueqty" id="maxissueqty" size="10" value="50" class="required" required="required" /> |
76 |
<span class="required">Required</span> |
77 |
<span class="required">[% t('Required') %]</span> |
77 |
</li> |
78 |
</li> |
78 |
|
79 |
|
79 |
<li> |
80 |
<li> |
80 |
<label for="issuelength" class="required">Loan period: </label> |
81 |
<label for="issuelength" class="required">[% t('Loan period:') %] </label> |
81 |
<input type="number" min="0" name="issuelength" id="issuelength" size="10" value="14" class="required" required="required" /> |
82 |
<input type="number" min="0" name="issuelength" id="issuelength" size="10" value="14" class="required" required="required" /> |
82 |
<span class="required">Required</span> |
83 |
<span class="required">[% t('Required') %]</span> |
83 |
</li> |
84 |
</li> |
84 |
<li> |
85 |
<li> |
85 |
<label for="lengthunit">Units: </label> |
86 |
<label for="lengthunit">[% t('Units:') %] </label> |
86 |
<select name="lengthunit" id="lengthunit" required="required"> |
87 |
<select name="lengthunit" id="lengthunit" required="required"> |
87 |
<option value=""> Choose </option> |
88 |
<option value=""> [% t('Choose') %] </option> |
88 |
[% SET units = 'days' %] |
89 |
[% SET units = 'days' %] |
89 |
[% IF category %] |
90 |
[% IF category %] |
90 |
[% SET default_privacy = category.default_privacy %] |
91 |
[% SET default_privacy = category.default_privacy %] |
Lines 92-130
Link Here
|
92 |
|
93 |
|
93 |
[% SWITCH units %] |
94 |
[% SWITCH units %] |
94 |
[% CASE 'days' %] |
95 |
[% CASE 'days' %] |
95 |
<option value="days" selected="selected">Days</option> |
96 |
<option value="days" selected="selected">[% t('Days') %]</option> |
96 |
<option value="hours">Hours</option> |
97 |
<option value="hours">[% t('Hours') %]</option> |
97 |
[% CASE 'hours' %] |
98 |
[% CASE 'hours' %] |
98 |
<option value="days">Days</option> |
99 |
<option value="days">[% t('Days') %]</option> |
99 |
<option value="hours" selected="selected">Hours</option> |
100 |
<option value="hours" selected="selected">[% t('Hours') %]</option> |
100 |
[% END %] |
101 |
[% END %] |
101 |
</select> |
102 |
</select> |
102 |
</li> |
103 |
</li> |
103 |
<li> |
104 |
<li> |
104 |
<label for="renewalsallowed" class="required">Renewals allowed: </label> |
105 |
<label for="renewalsallowed" class="required">[% t('Renewals allowed:') %] </label> |
105 |
<input type="number" min="0" name="renewalsallowed" id="renewalsallowed" size="10" max="10" value="10" class="required" required="required" /> |
106 |
<input type="number" min="0" name="renewalsallowed" id="renewalsallowed" size="10" max="10" value="10" class="required" required="required" /> |
106 |
<span class="required">Required</span> |
107 |
<span class="required">[% t('Required') %]</span> |
107 |
</li> |
108 |
</li> |
108 |
|
109 |
|
109 |
<li> |
110 |
<li> |
110 |
<label for="renewalperiod" class="required">Renewals period: </label> |
111 |
<label for="renewalperiod" class="required">[% t('Renewals period:') %] </label> |
111 |
<input type="number" min="0" name="renewalperiod" id="renewalperiod" size="10" value="14" class="required" required="required" /> |
112 |
<input type="number" min="0" name="renewalperiod" id="renewalperiod" size="10" value="14" class="required" required="required" /> |
112 |
<span class="required">Required</span> |
113 |
<span class="required">[% t('Required') %]</span> |
113 |
</li> |
114 |
</li> |
114 |
|
115 |
|
115 |
<li> |
116 |
<li> |
116 |
<label for="onshelfholds">On shelf holds allowed: </label> |
117 |
<label for="onshelfholds">[% t('On shelf holds allowed:') %] </label> |
117 |
<select name="onshelfholds" id="onshelfholds" required="required"> |
118 |
<select name="onshelfholds" id="onshelfholds" required="required"> |
118 |
<option value="">Choose</option> |
119 |
<option value="">[% t('Choose') %]</option> |
119 |
<option value="1" selected="selected">Yes</option> |
120 |
<option value="1" selected="selected">[% t('Yes') %]</option> |
120 |
<option value="0">If any unavailable</option> |
121 |
<option value="0">[% t('If any unavailable') %]</option> |
121 |
<option value="2">If all unavailable</option> |
122 |
<option value="2">[% t('If all unavailable') %]</option> |
122 |
</select> |
123 |
</select> |
123 |
</li> |
124 |
</li> |
124 |
</ol> |
125 |
</ol> |
125 |
<p> |
126 |
<p> |
126 |
To create circulation rule, go to: |
127 |
[% t('To create circulation rule, go to:') %] |
127 |
<span class="breadcrumbs">Administration › Circulation and fine rules </span> |
128 |
<span class="breadcrumbs">[% t('Administration › Circulation and fine rules') %] </span> |
128 |
</p> |
129 |
</p> |
129 |
|
130 |
|
130 |
</fieldset> |
131 |
</fieldset> |
131 |
- |
|
|