Skip to content

Commit

Permalink
[2375] Move resources in dataset results below description
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed May 15, 2012
1 parent d9c1a33 commit c4890bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ckan/public/base/less/dataset.less
Expand Up @@ -27,7 +27,7 @@
.dataset-resources {
font-size: 10px;
line-height: 14px;
float: right;
margin-top: 5px;
}

.dataset-resources li {
Expand Down
1 change: 0 additions & 1 deletion ckan/templates/page.html
Expand Up @@ -9,7 +9,6 @@
<!--! Import the header -->
<xi:include href="header.html" />

<!--! Wrap <content> and <sidebar> tags -->
<div role="main">
<div class="container">
<div class="primary" py:attrs="select('primary/@*')">
Expand Down
6 changes: 3 additions & 3 deletions ckan/templates/snippets/package_list.html
Expand Up @@ -3,6 +3,9 @@
<h3 class="heading">
${h.link_to(package.get('title') or package.get('name'), h.url_for(controller='package', action='read', id=package.get('name')))}
</h3>
<div class="content">
${h.markdown_extract(package.notes)}
</div>
<py:if test="package.resources">
<ul class="dataset-resources unstyled">
<py:for each="resource in package.resources">
Expand All @@ -12,8 +15,5 @@ <h3 class="heading">
</py:for>
</ul>
</py:if>
<div class="content">
${h.markdown_extract(package.notes)}
</div>
</li>
</ul>

0 comments on commit c4890bc

Please sign in to comment.