Last change
on this file since 1578 was
1578,
checked in by fenix, 14 years ago
|
added recent_author portlet
|
File size:
1.2 KB
|
Rev | Line | |
---|
[1578] | 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 | <dd metal:define-macro="author" |
---|
| 13 | tal:define="author view/getRecentAuthor; |
---|
| 14 | portrait python: view.getPortraitFor(author); |
---|
| 15 | authorinfo python: view.getInfoFor(author); |
---|
| 16 | author_listing_url python:view.getAuthorURL(authorinfo['username']);"> |
---|
| 17 | |
---|
| 18 | <a href="" |
---|
| 19 | tal:attributes="href author_listing_url"> |
---|
| 20 | <img src="" |
---|
| 21 | alt="" |
---|
| 22 | title="" |
---|
| 23 | class="portraitPhoto" |
---|
| 24 | tal:attributes="src portrait/absolute_url; |
---|
| 25 | alt authorinfo/fullname; |
---|
| 26 | title authorinfo/fullname;" /> |
---|
| 27 | </a> |
---|
| 28 | <div class="visualClear"><!----></div> |
---|
| 29 | |
---|
| 30 | </dd> |
---|
| 31 | |
---|
| 32 | <dd class="portletFooter"> |
---|
| 33 | <span class="portletBottomLeft"></span> |
---|
| 34 | <span class="portletBottomRight"></span> |
---|
| 35 | </dd> |
---|
| 36 | |
---|
| 37 | </dl> |
---|
Note: See
TracBrowser
for help on using the repository browser.