log_level: info
# Soll die Log-Ausgabe farbig erfolgen ?
colored_log: 0
-
#
# Standard-Listenlaenge
default_list_length: 20
-
#
# Anzahl der angezeigten zugeordneten Bücher in einer anderen Liste
-default_count_books_in_other_list: 10
-
+default_count_books_in_other_list: 5
#
# Sitzungsparameter
session:
<tr>
<td class="[% rowstyle %]">[% author.name %]</td>
<td class="[% rowstyle %]">[% author.descr %]</td>
- <td class="[% rowstyle %]"><ul class="buchliste">[% IF author.books and author.books.size > 0 %][% FOREACH book IN author.books %]
+ <td class="[% rowstyle %]"><ul class="buchliste">[% IF author.books and author.books.size > 0 %][% zz = 0 %][% FOREACH book IN author.books %][% zz = zz + 1 %][% IF zz > books_in_other_list %]
+ <li><i>weitere ...</i></li>[% LAST %][% END %]
<li>[% PROCESS book_entry b=book %]</li>[% END %][% ELSE %]<li><i>keine</i></li>[% END %]
</ul></td>
<td class="button [% rowstyle %]"><a href="[% path('/autor/view') %]?view_autor_id=[% author.id %]">Ansehen</a></td>
<tr>
<td class="[% rowstyle %]">[% serie.name %]</td>
<td class="[% rowstyle %]">[% serie.descr %]</td>
- <td class="[% rowstyle %]"><ul class="serienliste">[% IF serie.books and serie.books.size > 0 %][% FOREACH b IN serie.books %]
+ <td class="[% rowstyle %]"><ul class="serienliste">[% IF serie.books and serie.books.size > 0 %][% zz = 0 %][% FOREACH b IN serie.books %][% zz = zz + 1 %][% IF zz > books_in_other_list %]
+ <li><i>weitere ...</i></li>[% LAST %][% END %]
<li>[% PROCESS book_entry book=b %]</li>[% END %][% ELSE %]<li><i>keine</i></li>[% END %]
</ul></td>
<td class="button [% rowstyle %]"><a href="[% path('/serie/view') %]?view_serien_id=[% serie.id %]">Ansehen</a></td>
-%]
-Formulars für Sitzungseinstellungen -->
+Formular für Sitzungseinstellungen -->
[%- META title = 'Sitzungseinstellungen' -%]
[%- entries = [ 5, 10, 20, 50, 100, 200, 500 ] -%]
+[%- bl_entries = [ 2, 3, 5, 10, 20, 50, 100 ] -%]
<div class="center">
<td><select name="list_length" size="1">
[% FOR e IN entries %]<option class="number" value="[% e %]"[% IF e == list_length %] selected[% END %]>[% e %]</option>[% END %]
</select></td>
+ </tr><tr>
+ <th>Maximale Anzahl der angezeigten zugeordneten Bücher in einer Liste:<br />
+ <span style="font-weight: normal;">(z.Bsp. Autorenliste)</span></th>
+ <td><select name="books_in_other_list" size="1">
+ [% FOR e IN bl_entries %]<option class="number" value="[% e %]"[% IF e == books_in_other_list %] selected[% END %]>[% e %]</option>[% END %]
+ </select></td>
</tr><tr>
<td colspan="2" class="empty"></td>
</tr><tr>