Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item14343: Add a warning if in a non-active Main web.
  • Loading branch information
gac410 committed May 25, 2017
1 parent 1be0dae commit c035a5f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/data/System/GroupViewTemplate.txt
@@ -1,9 +1,12 @@
%META:TOPICINFO{author="ProjectContributor" date="1489712653" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1495729065" format="1.1" version="1"}%
%TMPL:INCLUDE{"view"}%

%TMPL:DEF{"content"}%<div class="foswikiTopicText">
%ADDTOZONE{"script" text="<script src='/pub/System/JavascriptFiles/strikeone.js'></script>"}%
---+!! %NOP%%TOPIC%
%IF{"'%USERSWEB%'='%WEB%'" else="<div class=\'foswikiAlert'>You are
viewing an inactive Group topic. See the [[%USERSWEB%.%TOPIC%]] for the live version of this group.</div>"}%

%IF{
"'%USERSWEB%.%TOPIC%' allows 'change'
AND '%TOPIC%' != 'BaseGroup'
Expand Down

0 comments on commit c035a5f

Please sign in to comment.