Source

pypi / templates / your_packages.pt

<?xml version="1.0" encoding="utf-8"?>
<!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"
  xmlns:tal="http://xml.zope.org/namespaces/tal"
  xmlns:metal="http://xml.zope.org/namespaces/metal"
  metal:use-macro="standard_template/macros/page">
  <metal:fill fill-slot="body">
    <tal:let define="packages python:app.store.user_packages_details(app.username)">
      <table class="list">
	<tbody>
	  <tr>
	    <th>Package</th>
	    <th>Description</th>
	  </tr>
	  <tr tal:repeat="package packages">
	    <td>                            
	      <a tal:attributes="href python: app.link_action('pkg_edit', name=package[0])"
		 tal:content="python:package[0]">package</a>
	    </td>
	    <td>
	      <div tal:content="python:package[10]">&nbsp;</div>
	    </td>
	  </tr>
	</tbody>
      </table>
    </tal:let>
  </metal:fill>
</html>