Skip to content

Commit

Permalink
[master][html] Very small change to a python expression in the html
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Murray committed Jan 6, 2012
1 parent b80da7a commit 8dc8861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/package/layout.html
Expand Up @@ -10,7 +10,7 @@
<ul class="tabbed">
<li py:attrs="{'class':'current-tab'} if c.action=='read' else {}">${h.subnav_link(c, h.icon('package') + _('View'), controller='package', action='read', id=c.pkg.name)}</li>
<py:choose>
<py:when test="len(c.pkg_dict.get('resources'))==0">
<py:when test="len(c.pkg_dict.get('resources', []))==0">
<li class="disabled">
${h.icon('package-disabled') + _('Resources')} &nbsp;&nbsp;<img class="dropdown-arrow" src="/images/icons/arrow-open.gif"/>
</li>
Expand Down

0 comments on commit 8dc8861

Please sign in to comment.