Skip to content

[ENH][UX] Wiki Pages Listing (tiki-listpages.php): Hide the hits column in the table based on the stats feature activation status

On tiki-listpages.php, there should be no "Hits" column if the Stats feature is disabled. This refers to a request made on dev.tiki by @bsfez Additionally, show a message to remind only users with admin rights to activate the stats feature to see the hits information. I Also added directly one translation set for the message.

Any user without admin rights sees the following for_anyone_without_admin_rights

The admin sees the following

stat_is_not_activated

And finally the message disappear when the feature is activated stast_is_activated

Edited by luci

Merge request reports