[All Adaptavist Apps]

Page tree

{builder-watchicon} Macro

Description

This macro creates a duplicate of the 'watch' icon from the standard confluence theme.

Usage

{builder-watchicon}

Note:
This macro can only be used inside panels within the theme configuration screen. You cannot use it in pages or news articles, etc.

Parameters

This macro has no parameters.

Examples

Basic Use

Simply add the macro to any panel in theme configuration to display the watch icon in that panel:

{builder-watchicon}

CSS Customisation

To follow.

Hints and Tips

None at present.

Frequently Asked Questions

None at present.

  • No labels

8 Comments

  1. Unknown User (davidchapmanattpt)

    On 3.3.4 and 3.3.5M3, this macro doesn't seem to do anything(no output). I have it inside the menu panel with the rest of the default navigation icons. The rest seem to work such as the favorite, add, edit, etc.

    1. Unknown User (amoran)

      Set up an SMTP server in confluence admin (wink)

      1. Unknown User (davidchapmanattpt)

        That would be all too easy (smile) If that's all it takes, I'll take your word for it. This is a sandbox with a snapshot of production data so I didn't want notifications going out to users and confusing them, but that'll be easy enough to do when this moves over to production.

  2. Unknown User (jbenfield)

    Is there a way to add text to this action? For example have a link that is both the text "Watch This Page" and the watchicon linked to the watch action. I'm wondering the same for the favicon. Thanks,

    Joe

    1. Unknown User (gfraser)

       {menulink:watch}your description here{menulink}
      

      For more info see menulink macro, compound-menuitem macro and Links - Quick Reference.

    2. Unknown User (amoran)

      {builder-watchicon} is actually a shortcut to:

      {compound-menuitem:watch|tooltip=%Watch% this %page%|flat=true|imginside=true}
      

      So if you wanted text to appear next to the icon then you could use:

      {compound-menuitem:watch|tooltip=%Watch% this %page%|flat=true|imginside=true|caption=%Watch% this %page%}
      
      1. Unknown User (jbenfield)

        Guy and Alain - exactly what I needed. Thanks!

  3. Unknown User (davidchapmanattpt)

    Is there any way this could be used to watch something on another page. For instance if we had a news space, could we somehow on the dashboard have a link/icon that would put a watch on that space?