Skip to content

Commit

Permalink
[2375] More toolbar tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jun 12, 2012
1 parent e3027d0 commit ac9390f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ckan/public/base/less/toolbar.less
Expand Up @@ -7,6 +7,8 @@

.toolbar .breadcrumb {
.box-shadow(none);
position: relative;
top: -3px;
float: left;
background: none;
margin: 0 0 0 @gutter-small-x;
Expand All @@ -25,7 +27,7 @@

.toolbar .breadcrumb .home {
position: relative;
top: 3px;
top: 4px;
margin-left: -3px;
}

Expand Down
3 changes: 2 additions & 1 deletion ckan/templates/package/read.html
Expand Up @@ -7,12 +7,13 @@
<ol class="breadcrumb">
<li class="home hide-text"><a class="ckan-icon ckan-icon-bookmark" href="{{ h.url('home') }}">Home</a></li>
<li>{{ h.nav_link(_('Datasets'), controller='package', action='search', highlight_actions = 'new index') }}</li>
<li class="active"><a href="" title="{{ dataset }}">{{ h.truncate(dataset, 60) }}</a></li>
<li class="active"><a href="" title="{{ dataset }}">{{ h.truncate(dataset, 35) }}</a></li>
</ol>
{% endblock %}

{% block actions %}
<ul class="actions">
<li>{{ h.nav_link(_('Related'), controller='package', action='related', id=c.pkg.id, class_='btn', icon='photo') }}</li>
<li>{{ h.nav_link(_('History'), controller='package', action='history', id=c.pkg.id, class_='btn', icon='rewind') }}</li>
<li>{{ h.nav_link(_('Edit'), controller='package', action='edit', id=c.pkg.id, class_='btn', icon='tools', condition=h.check_access('package_update',{'id':c.pkg.id })) }}</li>
<li><a class="btn" href=""><i class="ckan-icon ckan-icon-flag"></i> Report Issue</a></li>
Expand Down

0 comments on commit ac9390f

Please sign in to comment.