Display version page on top information ( and not using History) Edited

Hello,

 

I would like to put an information important on top of my confluence page : The version.

I know we can know the version with "..." -> "page history" 

But i would know it directly in first information under the page title, like this :

(Actual)

Filters

Created by Tim Burton, last modified about 3 hours ago

(Wanted)

Filters

Created by Tim Burton, last modified about 3 hours ago, v.44.

 

Is it possible ? If yes, could you give the way to resolved it.

 

Thx

1 answer

0 vote
Stephen Deutsch Community Champion Jul 24, 2017

Put the following code in your custom HTML:

<script>AJS.toInit(function() { jQuery(".page-metadata-modification-info").append("<span>v." + jQuery("meta[name=page-version]").attr("content") + ".</span>"); });</script>

 

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

46 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot