Skip to content

Commit

Permalink
[2375] Start the package/read.html template with hardcoded data
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed May 15, 2012
1 parent abae12f commit d649a4e
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions ckan/templates/package/read.html
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:i18n="http://genshi.edgewall.org/i18n"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="../page.html" />
<head>
<title>${c.pkg_dict.get('title', c.pkg_dict['name'])} - Datasets</title>
</head>
<body>
<content>
</content>
<sidebar>
<section class="module subscribe">
<h2 class="heading">Subscribe</h2>
<ul class="nav nav-simple">
<li><a href="#">Email</a></li>
<li><a href="#">RSS</a></li>
</ul>
</section>

<section class="module social">
<h2 class="heading">Social</h2>
<ul class="nav nav-simple">
<li><a href="#">Google+</a></li>
<li><a href="#">Twitter</a></li>
<li><a href="#">Facebook</a></li>
</ul>
</section>

<section class="module info related">
<h2 class="heading">Related</h2>
<p class="content">Some interesting summary of this featured item. This
may or may not have a slideshow.</p>
</section>

<section py:if="c.pkg.license_id" class="module info license">
<h2 class="heading">License</h2>
<p class="content">
<a py:if="c.pkg_dict.get('license_url')" href="${c.pkg_dict.get('license_url')}" rel="dc:rights">${c.pkg_dict.get('license_title')}</a>
<span py:if="c.pkg.license" property="dc:rights">${c.pkg_dict.get('license_title')}</span>
<a py:if="c.pkg_dict.get('isopen')" href="http://opendefinition.org/okd/" title="This dataset satisfies the Open Definition.">
<img class="open-data" src="http://assets.okfn.org/images/ok_buttons/od_80x15_blue.png" alt="[Open Data]" />
</a>
<span py:if="not c.pkg_dict.get('isopen')" class="closed">${h.icon('lock')}</span>
</p>
</section>

<section class="module trackback">
<h2 class="heading">Trackback URL</h2>
<input type="text" value="" />
</section>
</sidebar>
</body>
</html>

0 comments on commit d649a4e

Please sign in to comment.