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

markus_petrux’s picture

We would need a patch for this.

pheraph’s picture

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

markus_petrux’s picture

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.