Skip to content

Commit

Permalink
[#2939] Orgs menu item added to header
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Sep 25, 2012
1 parent d657cec commit 84fa14e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ckan/lib/helpers.py
Expand Up @@ -455,6 +455,7 @@ def default_group_type():
'default_group': dict(name='%s_index' % default_group_type(),
controller='group',
highlight_actions='index search'),
'organizations': dict(action='index', controller='organization'),
'about' : dict(controller='home', action='about'),
'login' : dict(controller='user', action='login'),
'register' : dict(controller='user', action='register'),
Expand Down
2 changes: 1 addition & 1 deletion ckan/templates/header.html
Expand Up @@ -42,7 +42,7 @@ <h1>
</form>
<nav class="first section navigation">
<ul class="unstyled">
{{ h.build_nav_main(('add dataset', _('Add Dataset'), 'package_create'), ('search', _('Datasets')), ('default_group', _('Groups')), ('about', _('About'))) }}
{{ h.build_nav_main(('add dataset', _('Add Dataset'), 'package_create'), ('search', _('Datasets')), ('organizations', _('Organizations')), ('default_group', _('Groups')), ('about', _('About'))) }}
</ul>
</nav>
</div>
Expand Down

0 comments on commit 84fa14e

Please sign in to comment.