If you want it to show for certain people you could add JavaScript into the custom html section in Confluence to conditionally set some CSS to hide the link to expand the file list. Granted that if someone wanted to go thorugh the page source they could still see it, but your average user wouldn't know how to do that. The CSS you would need is ...
.attachment-history {display: none;}
Here is some JS code that could do the trick.
AJS.toInit(function(){ var user; switch(AJS.Meta.get("space-key")) { case "DEV": user = "jdoe"; break; case "HR": user = "jschmoe"; break; case "DOC": user = "bgates"; break; } hideHistoryIfNot(user); }); function hideHistoryIfNot(user) { if(AJS.Meta.get("remote-user") !== user) { AJS.$(".attachment-history").css("display", "none"); } }
Hi Zeynep,
Could you pelase clarify your question so we can better assist you?
What you need to disable?
What you mean by old version of attachments file lists?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.