[zopeorg-checkins] CVS: Products/ZopeOrg-NV/skins/nzo -
swpackage_releases.html:1.1 swpackage_view.html:1.1
Brian Lloyd
brian at zope.com
Mon Aug 25 14:43:15 EDT 2003
Update of /cvs-zopeorg/Products/ZopeOrg-NV/skins/nzo
In directory cvs.zope.org:/tmp/cvs-serv2132
Added Files:
swpackage_releases.html swpackage_view.html
Log Message:
Add sw package view overrides
=== Added File Products/ZopeOrg-NV/skins/nzo/swpackage_releases.html ===
<html metal:use-macro="here/main_template/macros/master">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
<title></title>
</head>
<body>
<div metal:fill-slot="main">
<span tal:omit-tag="" metal:define-macro="releases">
<h2>Available Releases</h2>
<table class="listing">
<tr>
<th>Version</th>
<th>Maturity</th>
<th> </th>
<th>Released</th>
</tr>
<tal:block tal:repeat="release here/getReleases">
<tr class="even">
<td>
<a href="#" tal:content="release/Version"
tal:attributes="href release/absolute_url">
1.0b1
</a>
</td>
<td tal:content="release/Maturity">Development</td>
<td> </td>
<td tal:content="release/ModificationDate">01/01/2003</td>
</tr>
<tr tal:repeat="file release/getReleaseFiles">
<td> </td>
<td>
<a href="#"
tal:content="python:'%s (%s)' % (file.getId(), here.getObjSize(file))"
tal:attributes="href file/absolute_url">
afile.tgz
</a>
</td>
<td tal:content="file/Platform">linux ppc</td>
<td>
<a href="viewMD5" tal:condition="file/MD5"
tal:attributes="href string:${file/absolute_url}/viewMD5">
md5
</a>
</td>
</tr>
</tal:block>
</table>
</span>
</div>
</body>
</html>
=== Added File Products/ZopeOrg-NV/skins/nzo/swpackage_view.html ===
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
metal:use-macro="here/main_template/macros/master">
<body>
<div metal:fill-slot="main">
<span tal:replace="request/message"
tal:condition="request/message|nothing"><hr></span>
<h2 tal:content="here/Title|here/getId">Software Package</h2>
<table cellpadding="6">
<tr>
<td>
<span tal:content="structure here/Description"
tal:condition="here/Description">
Description
</span>
<ul>
<li tal:condition="here/Homepage">
<b>Homepage:</b><br />
<a href="#" tal:content="here/Homepage"
tal:attributes="href here/Homepage">Homepage</a>
</li>
<li tal:condition="here/ContactEmail">
<b>Contact Email:</b><br />
<a href="#" tal:content="here/ContactEmail"
tal:attributes="href string:mailto:${here/ContactEmail}">ContactEmail</a>
</li>
</ul>
</td>
<td>
<table class="detail"
tal:define="latest here/getLatestRelease"
tal:condition="latest">
<tr>
<td class="label">Latest Release:</td>
<td>
<a href="#" tal:content="latest/Version"
tal:attributes="href latest/absolute_url">
1.0b1</a>
</td>
</tr>
<tr>
<td class="label">Release Date:</td>
<td tal:content="latest/ModificationDate">01/01/2003</td>
</tr>
<tr>
<td class="label">Author:</td>
<td>
<a href="#"
tal:attributes="href string:mailto:${latest/AuthorEmail}"
tal:omit-tag="latest/AuthorEmail">
<span tal:replace="latest/Author">
Me!
</span>
</a>
</td>
</tr>
<tr tal:condition="latest/License">
<td class="label">License:</td>
<td tal:content="latest/License">GPL</td>
</tr>
<tr>
<td class="label">Categories:</td>
<td tal:content="python:', '.join(latest.Subject())">
Server, User
</td>
</tr>
<tr>
<td class="label">Maturity:</td>
<td tal:content="latest/Maturity">Development</td>
</tr>
<tr tal:condition="latest/InfoURL">
<td> </td>
<td>
<a href="#"
tal:attributes="href latest/InfoURL">
Information</a>
</td>
</tr>
<tr tal:condition="latest/ChangesURL">
<td> </td>
<td>
<a href="#"
tal:attributes="href latest/ChangesURL">
Changes</a>
</td>
</tr>
<tr tal:condition="latest/InstallationURL">
<td> </td>
<td>
<a href="#"
tal:attributes="href latest/InstallationURL">
Installation</a>
</td>
</tr>
<tr tal:condition="latest/LicenseURL">
<td> </td>
<td>
<a href="#"
tal:attributes="href latest/LicenseURL">
License</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<metal:block metal:use-macro="here/swpackage_releases/macros/releases" />
</div>
</body>
</html>
More information about the zopeorg-checkins
mailing list