Skip to content

Commit

Permalink
XWIKI-19751: Move the "watch" button for a page to the page content menu
Browse files Browse the repository at this point in the history
  * Ensure to not display the watch status for guest
  • Loading branch information
surli committed May 29, 2024
1 parent e632e64 commit 76dad82
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@
</property>
<property>
<content>{{velocity}}
## FIXME: this object should be cached / async once properly finished.
#if (!$isGuest)
#set($discard = $xwiki.ssx.use('XWiki.Notifications.Code.NotificationsWatchUIX'))
#set($discard = $xwiki.jsx.use('XWiki.Notifications.Code.NotificationsWatchUIX'))
#macro (_displayReferenceInModal $entityReference)
Expand Down Expand Up @@ -637,6 +637,7 @@
&lt;/div&gt;&lt;!-- /.modal-dialog --&gt;
&lt;/div&gt;&lt;!-- /.modal --&gt;
{{/html}}
#end
{{/velocity}}</content>
</property>
<property>
Expand Down

0 comments on commit 76dad82

Please sign in to comment.