This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Author: Vikas Sharma, https://twitter.com/VikasSharma | |
This user macro allows a user to embed a watch space blog button within a blog post on Confluence. | |
At Twitter we use this to encourage folks to watch the blog of the space they are on. | |
--> | |
<button id="twtr-watch-space-blog" class="aui-button">Watch the $space.getName() Blog</button> | |
<script> | |
AJS.toInit(function(){ | |
AJS.$('#twtr-watch-space-blog').on('click', function(){ |