Personal tools
You are here: Home Użytkownicy jeremi sinList.pt

sinList.pt

sinList.pt — HTML, 1Kb

File contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
      lang="en-US"
      metal:use-macro="here/main_template/macros/master"
      i18n:domain="plone">

  <metal:block fill-slot="base">
    <tal:block tal:define="dummy python:request.set('disable_border', 1)"
               tal:replace="nothing">
    Disable the tabs
    </tal:block>
  </metal:block>

  <div metal:fill-slot="main"
       tal:define="true python: 1;
                   false python: 0;
                   verbose python: 1;
		   sin here/sin_tool;
                   m request/synmap;
		   results python:sin.sin(m);
                   Batch python:modules['Products.CMFPlone'].Batch;
                   b_start python:request.get('b_start',0);
		   ">

        <div class="contentHeader">
        <h1 tal:content="m">Title or id</h1>
        </div>

	<tal:block tal:define="batch python:Batch(results, 15, int(b_start), orphan=1)">

        <!-- Navigation -->
        <div metal:use-macro="here/batch_macros/macros/navigation" />

	<dl tal:repeat="obj batch">
		<dt><a href="#" target="_blank" tal:attributes="href obj/link" tal:content="obj/title"/>&nbsp; <span tal:condition="python: obj.get('date') or nothing" tal:content="python: here.toLocalizedTime(obj['date'])"/></dt>
		<dd><span tal:condition="python: verbose and obj.get('description') or nothing" tal:replace="structure obj/description"/></dd>
	</dl>

        <!-- Navigation -->
        <div metal:use-macro="here/batch_macros/macros/navigation" />
	</tal:block>
        <p tal:condition="not: results" i18n:translate="description_no_items_in_feed">
           There are currently no items in this feed.
        </p>
    </div>
</html>

Document Actions