[ckan-changes] commit/ckan: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Sun Jun 12 15:09:05 UTC 2011
2 new changesets in ckan:
http://bitbucket.org/okfn/ckan/changeset/96b363d5d6c5/
changeset: 96b363d5d6c5
user: rgrp
date: 2011-06-06 15:13:42
summary: [cleanup,commenting][xs]: remove use of non-existent comment action in package/layout.html submenu (was already disabled) and config variable that disabled it.
affected #: 2 files (222 bytes)
--- a/ckan/lib/app_globals.py Wed Jun 08 13:46:15 2011 +0100
+++ b/ckan/lib/app_globals.py Mon Jun 06 14:13:42 2011 +0100
@@ -32,7 +32,6 @@
# hide these extras fields on package read
self.package_hide_extras = config.get('package_hide_extras', '').split()
- self.has_commenting = False
self.openid_enabled = asbool(config.get('openid_enabled', 'true'))
--- a/ckan/templates/package/layout.html Wed Jun 08 13:46:15 2011 +0100
+++ b/ckan/templates/package/layout.html Mon Jun 06 14:13:42 2011 +0100
@@ -12,9 +12,6 @@
<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 py:if="g.has_commenting">
- ${h.subnav_link(c, h.icon('comments') + _('Comments & Questions'), controller='package', action='comments', 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 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)}
http://bitbucket.org/okfn/ckan/changeset/8d6fde0e2196/
changeset: 8d6fde0e2196
user: rgrp
date: 2011-06-12 17:08:58
summary: [controllers/user][xs]: do not create a Revision when editing users.
affected #: 1 file (143 bytes)
--- a/ckan/controllers/user.py Mon Jun 06 14:13:42 2011 +0100
+++ b/ckan/controllers/user.py Sun Jun 12 16:08:58 2011 +0100
@@ -138,9 +138,6 @@
c.user_email = request.params.getone('email')
elif 'save' in request.params:
try:
- rev = model.repo.new_revision()
- rev.author = c.author
- rev.message = _(u'Changed user details')
user.about = request.params.getone('about')
user.fullname = request.params.getone('fullname')
user.email = request.params.getone('email')
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