Mercurial > kallithea
diff rhodecode/templates/base/base.html @ 3847:bec04f371579 beta
Gist: added shortcut for my public gists
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 12 May 2013 14:14:59 +0200 |
parents | dc4644865e8b |
children | 100be6988bb0 |
line wrap: on
line diff
--- a/rhodecode/templates/base/base.html Sun May 12 00:41:38 2013 +0200 +++ b/rhodecode/templates/base/base.html Sun May 12 14:14:59 2013 +0200 @@ -292,8 +292,9 @@ </a> <ul class="admin_menu"> <li>${h.link_to(_('Create new gist'),h.url('new_gist'),class_='gists-new ')}</li> - <li>${h.link_to(_('Public gists'),h.url('gists'),class_='gists ')}</li> + <li>${h.link_to(_('All public gists'),h.url('gists'),class_='gists ')}</li> %if c.rhodecode_user.username != 'default': + <li>${h.link_to(_('My public gists'),h.url('gists', public=1),class_='gists')}</li> <li>${h.link_to(_('My private gists'),h.url('gists', private=1),class_='gists-private ')}</li> %endif </ul>