Ok, latest CB Gallery build release now has the slashed eye indicator for published state implemented. I've implemented it throughout all views that have indicator icons including grid views for both albums and media. Even media modal windows will indicate unpublished next to the menu dropdown.
I am not (yet) familiar with autoaction plugin, so i will be happy if you can provide such example, thank you !
This might be quite complicated if you've no CB Auto Actions experience, but the configuration example is as follows for the auto action. Basically what we'll be doing is overriding the date handling for the CB Activity logging behavior for CB Gallery activity. Some of the below might be confusing if you've no CB Auto Actions experience so I'd recommend just installing it and exploring it first before putting together auto actions. This assumes you still want to go through with doing this. I don't particularly recommend it since it causes media to go outside the flow of things, but it's up to you.
Global
Triggers: activity_onBeforeActivityEntitySave
Type: Code
User: Automatic
Access: Everybody
Conditions
Field: Custom > Value
Custom Value: [cb:parse function="getAsset" class="var1" /]
Format Functions: Yes
Operator: Is REGEXP
REGEXP: /^gallery\./
Action
Method: PHP
Code:
Code:
$variables['var1']->setDate( \CBLib\Application\Application::Database()->getUtcDateTime() );
Parameters
Reference Variables: Variable 1
I've confirmed the above works to force the activity date to be the current datetime causing it to ignore the date of the gallery entry itself.