<dl class="portlet portletWeblogAuthors"
    i18n:domain="plone">

    <dt class="portletHeader">
        <span class="portletTopLeft"></span>
        <a class="tile"
           tal:content="view/title"
           tal:attributes="href view/getAuthorsURL">_title_</a>
        <span class="portletTopRight"></span>
    </dt>

    <tal:block repeat="author view/authors">

      <dd class="portletItem odd" metal:define-macro="author"
          tal:define="portrait python: view.getPortraitFor(author);
                      authorinfo python: view.getInfoFor(author);
                      author_listing_url python:view.getAuthorURL(authorinfo['username']);"
          tal:attributes="class python:repeat['author'].odd and 'portletItem even' or 'portletItem odd'">

        <h1 class="documentFirstHeading">
          <a href=""
             tal:attributes="href author_listing_url"
             tal:content="authorinfo/fullname">
              Author Name
          </a>
        </h1>

        <div class="discreet"
             tal:condition="python:view.data.show_location and authorinfo['location']"
             i18n:translate="text_location">
          Location:
          <span tal:content="authorinfo/location"
                tal:omit-tag=""
                i18n:name="location">
            Some location
          </span>
        </div>
        
        <a href=""
           tal:attributes="href author_listing_url">
            <img src=""
                 alt=""
                 title=""
                 class="portraitPhoto"
                 tal:condition="python:view.data.show_portrait and portrait"
                 tal:attributes="src portrait/absolute_url;
                                 alt authorinfo/fullname;
                                 title authorinfo/fullname;" />
        </a>
        <div class="visualClear"><!----></div>

        <div tal:condition="python:view.data.show_description and authorinfo['description']"
             tal:content="authorinfo/description" />

      </dd>

    </tal:block>

    <dd class="portletFooter">
        <span class="portletBottomLeft"></span>
        <span class="portletBottomRight"></span>
    </dd>

</dl>
