Change panel id to xxxGroup, for consistency with wilma (allow testing resuse)

This commit is contained in:
Graham Triggs 2017-09-27 18:38:35 +01:00
parent 001c8cc8ac
commit db5a854787

View file

@ -21,10 +21,10 @@
<#assign groupNameHtmlId = "${i18n().properties}" > <#assign groupNameHtmlId = "${i18n().properties}" >
</#if> </#if>
<#if tabCount = 1 > <#if tabCount = 1 >
<li data-toggle="tab" groupName="${groupNameHtmlId?replace("/","-")}" class="active" href="#panel-${groupNameHtmlId?replace("/","-")}"><a href="#">${groupName?capitalize}</a></li> <li data-toggle="tab" groupName="${groupNameHtmlId?replace("/","-")}" class="active" href="#${groupNameHtmlId?replace("/","-")}Group"><a href="#">${groupName?capitalize}</a></li>
<#assign tabCount = 2> <#assign tabCount = 2>
<#else> <#else>
<li data-toggle="tab" groupName="${groupNameHtmlId?replace("/","-")}" href="#panel-${groupNameHtmlId?replace("/","-")}"><a href="#">${groupName?capitalize}</a></li> <li data-toggle="tab" groupName="${groupNameHtmlId?replace("/","-")}" href="#${groupNameHtmlId?replace("/","-")}Group"><a href="#">${groupName?capitalize}</a></li>
</#if> </#if>
</#if> </#if>
</#list> </#list>
@ -42,7 +42,7 @@
<#assign groupNameHtmlId = p.createPropertyGroupHtmlId(groupName) > <#assign groupNameHtmlId = p.createPropertyGroupHtmlId(groupName) >
<#assign verbose = (verbosePropertySwitch.currentValue)!false> <#assign verbose = (verbosePropertySwitch.currentValue)!false>
<div id="panel-${groupNameHtmlId?replace("/","-")}" <div id="${groupNameHtmlId?replace("/","-")}Group"
class="tab-pane <#if (sectionCount == 1) >active</#if>" class="tab-pane <#if (sectionCount == 1) >active</#if>"
role="tabpanel"> role="tabpanel">
<#-- Display the group heading --> <#-- Display the group heading -->