Skip to content

Commit

Permalink
[2375] Add icons to dataset page and update sprite sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed May 17, 2012
1 parent 36a8fb9 commit 0b62aa6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Binary file modified ckan/public/base/images/sprite-ckan-icons.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions ckan/templates/package/read.html
Expand Up @@ -127,15 +127,15 @@ <h3>Additional Info</h3>

<aside class="secondary">
<section class="module subscribe">
<h2 class="heading">Subscribe</h2>
<h2 class="heading"><i class="ckan-icon ckan-icon-add"></i> 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>
<h2 class="heading"><i class="ckan-icon ckan-icon-share"></i> Social</h2>
<ul class="nav nav-simple">
<li><a href="#">Google+</a></li>
<li><a href="#">Twitter</a></li>
Expand All @@ -144,22 +144,22 @@ <h2 class="heading">Social</h2>
</section>

<section class="module info related" py:if="True">
<h2 class="heading">Related <a class="action" href="#">Add Related</a></h2>
<h2 class="heading"><i class="ckan-icon ckan-icon-photo"></i> Related <a class="action" href="#">Add Related</a></h2>
<p class="content">Some interesting summary of this featured item. This
may or may not have a slideshow.</p>
</section>

<section class="module info related empty" py:if="True">
<h2 class="heading">Related</h2>
<h2 class="heading"><i class="ckan-icon ckan-icon-photo"></i> Related</h2>
<div class="content">
<p>No apps, ideas, news stories or images have been
related to this dataset yet, why not add one now?</p>
<p class="action"><a class="btn" href="#">Add Item</a></p>
</div>
</section>

<section py:if="c.pkg.license_id" class="module info license">
<h2 class="heading">License</h2>
<section class="module info license" py:if="c.pkg.license_id">
<h2 class="heading"><i class="ckan-icon ckan-icon-lock"></i> 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>
Expand All @@ -171,7 +171,7 @@ <h2 class="heading">License</h2>
</section>

<section class="module disqus-trackback">
<h2 class="heading">Trackback URL</h2>
<h2 class="heading"><i class="ckan-icon ckan-icon-clipboard"></i> Trackback URL</h2>
<div class="field"><input type="text" value="http://trackback.com" /></div>
</section>
</aside>
Expand Down

0 comments on commit 0b62aa6

Please sign in to comment.