You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hello.
I have public wiki with any spaces.
How do I hide the update history of spaces for anonymous users? Highlighted in red in the screenshot.
Hi @Sergey 123 ,
I would do something like this:
1. At the global stylesheet (General Configuration > Look and Feel) add the following: [data-macro-name="recently-updated"] { display: none; }
2. At the custom HTML page (General Configuration > Look and Feel) add the following script:
<script type="text/javascript">
AJS.toInit(function(){
if (AJS.params.remoteUser != ''){
AJS.$('[data-macro-name="recently-updated"]').show();
}
});
</script>
Basically, what you are doing is hiding the Recently Updated panel from everyone by default and then showing it only for authenticated users.
You can also skip the first step and modify the following block in the second:
if (AJS.params.remoteUser == ''){
AJS.$('[data-macro-name="recently-updated"]').hide();
}
This will hide the panel from any anonymous. The only downside to it is that depending at the speed the script is executed the users may see still the Recently Updated panel showing up and then disappearing. That is why I consider the first approach more appealing.
Hope it helps.
Cheers,
Vitor
Just found these pages that can be also of help for other similar situations:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.