Skip to content

Commit

Permalink
Item14343: Another GroupViewTemplate include needs adjusting.
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed May 25, 2017
1 parent 0d20ce7 commit 1be0dae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/data/System/AdminToggle.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1426913092" format="1.1" reprev="2" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1495729065" format="1.1" version="1"}%
---+ Group Member Toggle

This topic implements a button that will turn Admin status on or off for the
Expand All @@ -25,10 +25,10 @@ user making the change instead of the anonymous !AdminUser.
_If you (<nop>%WIKINAME%) has permission to change the %USERSWEB%.AdminGroup topic, a button to add or remove yourself from the !AdminGroup will appear below:_
Be sure that you have explicit CHANGE authority on the !AdminGroup or removing yourself from the group will be permanent.

%STARTINCLUDE%%INCLUDE{"%USERSWEB%.GroupViewTemplate" section="manageself" groupname="AdminGroup"}%%STOPINCLUDE%
%STARTINCLUDE%%INCLUDE{"%USERSWEB%.GroupViewTemplate,%SYSTEMWEB%.GroupViewTemplate" section="manageself" groupname="AdminGroup"}%%STOPINCLUDE%

---+++ More enhancements

You can add this button to your custom sidebar for any group, by using the following include macro:
<verbatim>
%INCLUDE{"%USERSWEB%.GroupViewTemplate" section="manageself" groupname="AdminGroup"}%</verbatim>
%INCLUDE{"%USERSWEB%.GroupViewTemplate,%SYSTEMWEB%.GroupViewTemplate" section="manageself" groupname="AdminGroup"}%</verbatim>

0 comments on commit 1be0dae

Please sign in to comment.