]> Frank Brehm's Git Trees - books.git/commitdiff
Optik
authorFrank Brehm <frank@brehm-online.com>
Wed, 10 Jun 2009 21:07:33 +0000 (21:07 +0000)
committerFrank Brehm <frank@brehm-online.com>
Wed, 10 Jun 2009 21:07:33 +0000 (21:07 +0000)
root/src/autor/list.tt2

index 5b94622897ed18bd2974e3bf7a1d8c14baca2c95..8a749e8fe311880f130f8acf8244a00234587ec1 100644 (file)
@@ -7,7 +7,8 @@
   ** $URL$
   ** -%]
 [%- BLOCK book_entry -%]
-<a href="[% Catalyst.web_path( '/books/view', { 'return_target_form' => self_url, view_book_id => b.id, } ) %]">[% b.title | html %]</a>[% IF b.untertitel %] ([% b.untertitel | html %])[% END %]
+<a href="[% Catalyst.web_path( '/books/view', { 'return_target_form' => self_url, view_book_id => b.id, } ) %]">[% b.title | html %]</a>[% IF b.untertitel %]<br />
+                <i>([% b.untertitel | html %])</i>[% END %]
 [%- END -%]
 
   Autorenliste
@@ -48,8 +49,7 @@
   <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 %][% FOREACH book IN author.books %]
             <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>