|
Lines 136-170
Link Here
|
| 136 |
[% END %] |
136 |
[% END %] |
| 137 |
|
137 |
|
| 138 |
[% IF (frequencies_loop.size) %] |
138 |
[% IF (frequencies_loop.size) %] |
| 139 |
<table id="frequenciest"> |
139 |
<div class="page-section"> |
| 140 |
<thead> |
140 |
<table id="frequenciest"> |
| 141 |
<tr> |
141 |
<thead> |
| 142 |
<th>Description</th> |
142 |
<tr> |
| 143 |
<th>Unit</th> |
143 |
<th>Description</th> |
| 144 |
<th>Issues per unit</th> |
144 |
<th>Unit</th> |
| 145 |
<th>Units per issue</th> |
145 |
<th>Issues per unit</th> |
| 146 |
<th>Display order</th> |
146 |
<th>Units per issue</th> |
| 147 |
<th class="noExport">Actions</th> |
147 |
<th>Display order</th> |
| 148 |
</tr> |
148 |
<th class="noExport">Actions</th> |
| 149 |
</thead> |
149 |
</tr> |
| 150 |
<tbody> |
150 |
</thead> |
| 151 |
[% FOREACH frequency IN frequencies_loop %] |
151 |
<tbody> |
| 152 |
<tr> |
152 |
[% FOREACH frequency IN frequencies_loop %] |
| 153 |
<td>[% frequency.description | html %]</td> |
153 |
<tr> |
| 154 |
<td>[% PROCESS translate_frequnit frequnit=frequency.unit %]</td> |
154 |
<td>[% frequency.description | html %]</td> |
| 155 |
<td>[% frequency.issuesperunit | html %]</td> |
155 |
<td>[% PROCESS translate_frequnit frequnit=frequency.unit %]</td> |
| 156 |
<td>[% frequency.unitsperissue | html %]</td> |
156 |
<td>[% frequency.issuesperunit | html %]</td> |
| 157 |
<td>[% frequency.displayorder | html %]</td> |
157 |
<td>[% frequency.unitsperissue | html %]</td> |
| 158 |
<td class="actions"> |
158 |
<td>[% frequency.displayorder | html %]</td> |
| 159 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=modify&frequencyid=[% frequency.id | html %]"><i class="fa fa-pencil"></i> Edit</a> |
159 |
<td class="actions"> |
| 160 |
<a class="delete_frequency btn btn-default btn-xs" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=del&frequencyid=[% frequency.id | html %]"><i class="fa fa-trash"></i> Delete</a> |
160 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=modify&frequencyid=[% frequency.id | html %]"><i class="fa fa-pencil"></i> Edit</a> |
| 161 |
</td> |
161 |
<a class="delete_frequency btn btn-default btn-xs" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=del&frequencyid=[% frequency.id | html %]"><i class="fa fa-trash"></i> Delete</a> |
| 162 |
</tr> |
162 |
</td> |
| 163 |
[% END %] |
163 |
</tr> |
| 164 |
</tbody> |
164 |
[% END %] |
| 165 |
</table> |
165 |
</tbody> |
|
|
166 |
</table> |
| 167 |
</div> <!-- /.page-section --> |
| 166 |
[% ELSE %] |
168 |
[% ELSE %] |
| 167 |
<p>There is no defined frequency.</p> |
169 |
<p>There is no defined frequency.</p> |
| 168 |
[% END %] |
170 |
[% END %] |
| 169 |
[% END %] |
171 |
[% END %] |
| 170 |
|
172 |
|