Download & Extend

Mark the whole div depending on the privacy status

Project:CCK Private Fields
Version:6.x-1.0
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Currently the privacy status is indicated by a quite small icon (while editing the profile). I'd like to make the status more clear, so the whole cck-private-field-wrapper-div has a corresponding background color (red, yellow, green). How can this be achieved and a status dependend css-class be appended to the divs classes?

Comments

#1

We would need a patch for this.

#2

OK, that's what I expected. Could you please point me to a starting point?

#3

We are already wrapping the fields with a div that has the class "cck-private-field-wrapper". This is probably what we want to target for this feature.

I think this could be done with the proper jQuery selector from setStatusIcon() method in privacy_status_dialog.js. And we may probably need to review the stylesheets we're using now.

nobody click here