Mercurial > hg > mercurial
diff mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 573:91b58ee782ac
TW-26913
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Tue, 26 Mar 2013 15:50:03 +0400 |
parents | 4ff88460fb5d |
children | 256d3fc22a28 |
line wrap: on
line diff
--- a/mercurial-server/resources/buildServerResources/mercurialSettings.jsp Wed Mar 20 13:26:31 2013 +0400 +++ b/mercurial-server/resources/buildServerResources/mercurialSettings.jsp Tue Mar 26 15:50:03 2013 +0400 @@ -1,3 +1,5 @@ +<%@ page import="jetbrains.buildServer.serverSide.TeamCityProperties" %> +<%@ page import="jetbrains.buildServer.buildTriggers.vcs.mercurial.Constants" %> <%@include file="/include.jsp"%> <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %> <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/> @@ -8,6 +10,7 @@ } } </script> +<c:set var="subreposGloballyDisabled" value="<%= !TeamCityProperties.getBooleanOrTrue(Constants.GLOBAL_DETECT_SUBREPO_CHANGES) %>"/> <table class="runnerFormTable"> <l:settingsGroup title="General Settings"> @@ -34,6 +37,9 @@ <th><label for="detectSubrepoChanges">Detect subrepo changes: </label></th> <td> <props:checkboxProperty name="detectSubrepoChanges"/> + <c:if test="${subreposGloballyDisabled}"> + <div class="smallNote" style="margin: 0;">Currently <b>disabled</b> for the entire server with 'teamcity.hg.detectSubrepoChanges' internal property.</div> + </c:if> </td> </tr> <tr>