1 | <dl class="portlet portletWeblogAuthors" |
---|
2 | i18n:domain="plone"> |
---|
3 | |
---|
4 | <dt class="portletHeader"> |
---|
5 | <span class="portletTopLeft"></span> |
---|
6 | <a class="tile" |
---|
7 | tal:content="view/title" |
---|
8 | tal:attributes="href view/getAuthorsURL">_title_</a> |
---|
9 | <span class="portletTopRight"></span> |
---|
10 | </dt> |
---|
11 | |
---|
12 | <tal:block repeat="author view/authors"> |
---|
13 | |
---|
14 | <dd class="portletItem odd" metal:define-macro="author" |
---|
15 | tal:define="portrait python: view.getPortraitFor(author); |
---|
16 | authorinfo python: view.getInfoFor(author); |
---|
17 | author_listing_url python:view.getAuthorURL(authorinfo['username']);" |
---|
18 | tal:attributes="class python:repeat['author'].odd and 'portletItem even' or 'portletItem odd'"> |
---|
19 | |
---|
20 | <h1 class="documentFirstHeading"> |
---|
21 | <a href="" |
---|
22 | tal:attributes="href author_listing_url" |
---|
23 | tal:content="authorinfo/fullname"> |
---|
24 | Author Name |
---|
25 | </a> |
---|
26 | </h1> |
---|
27 | |
---|
28 | <div class="discreet" |
---|
29 | tal:condition="python:view.data.show_location and authorinfo['location']" |
---|
30 | i18n:translate="text_location"> |
---|
31 | Location: |
---|
32 | <span tal:content="authorinfo/location" |
---|
33 | tal:omit-tag="" |
---|
34 | i18n:name="location"> |
---|
35 | Some location |
---|
36 | </span> |
---|
37 | </div> |
---|
38 | |
---|
39 | <a href="" |
---|
40 | tal:attributes="href author_listing_url"> |
---|
41 | <img src="" |
---|
42 | alt="" |
---|
43 | title="" |
---|
44 | class="portraitPhoto" |
---|
45 | tal:condition="python:view.data.show_portrait and portrait" |
---|
46 | tal:attributes="src portrait/absolute_url; |
---|
47 | alt authorinfo/fullname; |
---|
48 | title authorinfo/fullname;" /> |
---|
49 | </a> |
---|
50 | <div class="visualClear"><!----></div> |
---|
51 | |
---|
52 | <div tal:condition="python:view.data.show_description and authorinfo['description']" |
---|
53 | tal:content="authorinfo/description" /> |
---|
54 | |
---|
55 | </dd> |
---|
56 | |
---|
57 | </tal:block> |
---|
58 | |
---|
59 | <dd class="portletFooter"> |
---|
60 | <span class="portletBottomLeft"></span> |
---|
61 | <span class="portletBottomRight"></span> |
---|
62 | </dd> |
---|
63 | |
---|
64 | </dl> |
---|