[ckan-changes] commit/ckan: kindly: [moderated edits] get view page to display correct state

Bitbucket commits-noreply at bitbucket.org
Wed Jun 22 08:42:44 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/fc7fa67d646c/
changeset:   fc7fa67d646c
branch:      feature-1141-moderated-edits-ajax
user:        kindly
date:        2011-06-22 10:42:30
summary:     [moderated edits] get view page to display correct state
affected #:  1 file (16 bytes)

--- a/ckan/templates/package/read_core.html	Mon Jun 20 01:01:11 2011 +0100
+++ b/ckan/templates/package/read_core.html	Wed Jun 22 09:42:30 2011 +0100
@@ -147,7 +147,7 @@
 
     <ul><py:if test="h.am_authorized(c, actions.CHANGE_STATE, c.pkg)">
-         <li><strong>State:</strong> ${c.pkg.state}</li>
+         <li><strong>State:</strong> ${c.pkg_dict.get('state', '')}</li></py:if></ul>

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