[ckan-changes] commit/ckan: dread: [templates/public][s]: #1218 Coloured package edit icon yellow to match others.
Bitbucket
commits-noreply at bitbucket.org
Mon Jul 11 11:47:21 UTC 2011
1 new changeset in ckan:
http://bitbucket.org/okfn/ckan/changeset/bd0f83a2e287/
changeset: bd0f83a2e287
branch: release-v1.4.2
user: dread
date: 2011-07-11 12:20:41
summary: [templates/public][s]: #1218 Coloured package edit icon yellow to match others.
affected #: 2 files (6 bytes)
--- a/ckan/templates/package/layout.html Sun Jul 10 22:57:07 2011 +0100
+++ b/ckan/templates/package/layout.html Mon Jul 11 11:20:41 2011 +0100
@@ -12,7 +12,7 @@
<li py:if="h.am_authorized(c, actions.EDIT, c.pkg)">
${h.subnav_link(c, h.icon('package_edit') + _('Edit'), controller='package', action='edit', id=c.pkg.name)}
</li>
- <li>${h.subnav_link(c, h.icon('page_white_stack') + _('History'), controller='package', action='history', id=c.pkg.name)}</li>
+ <li>${h.subnav_link(c, h.icon('page_stack') + _('History'), controller='package', action='history', id=c.pkg.name)}</li><li py:if="h.am_authorized(c, actions.EDIT_PERMISSIONS, c.pkg)">
${h.subnav_link(c, h.icon('lock') + _('Authorization'), controller='package', action='authz', id=c.pkg.name)}
</li>
Repository URL: https://bitbucket.org/okfn/ckan/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list