Enable branch field if roottype != svn, not if is == cvs

custis
Vitaliy Filippov 2013-11-20 17:07:20 +04:00
parent 8b3d3363f2
commit 8ca4b5b85a
4 changed files with 8 additions and 4 deletions

View File

@ -9,8 +9,9 @@
<div class="vc_query_form"> <div class="vc_query_form">
[for query_hidden_values]<input type="hidden" name="[query_hidden_values.name]" value="[query_hidden_values.value]"/>[end] [for query_hidden_values]<input type="hidden" name="[query_hidden_values.name]" value="[query_hidden_values.value]"/>[end]
<table cellspacing="0" cellpadding="5" class="auto"> <table cellspacing="0" cellpadding="5" class="auto">
[is roottype "cvs"] [is roottype "svn"]
[# For subversion, the branch field is not used ] [# For subversion, the branch field is not used ]
[else]
<tr> <tr>
<th style="text-align:right;vertical-align:top;">Branch:</th> <th style="text-align:right;vertical-align:top;">Branch:</th>
<td> <td>

View File

@ -9,8 +9,9 @@
<div class="vc_query_form"> <div class="vc_query_form">
[for query_hidden_values]<input type="hidden" name="[query_hidden_values.name]" value="[query_hidden_values.value]"/>[end] [for query_hidden_values]<input type="hidden" name="[query_hidden_values.name]" value="[query_hidden_values.value]"/>[end]
<table cellspacing="0" cellpadding="5" class="auto"> <table cellspacing="0" cellpadding="5" class="auto">
[is roottype "cvs"] [is roottype "svn"]
[# For subversion, the branch field is not used ] [# For subversion, the branch field is not used ]
[else]
<tr> <tr>
<th style="text-align:right;vertical-align:top;">Branch:</th> <th style="text-align:right;vertical-align:top;">Branch:</th>
<td> <td>

View File

@ -52,8 +52,9 @@ Browse Directory</a></p>
</label> </label>
</td> </td>
</tr> </tr>
[is roottype "cvs"] [is roottype "svn"]
[# For subversion, the branch field is not used ] [# For subversion, the branch field is not used ]
[else]
<tr> <tr>
<th style="text-align:right;vertical-align:top;">Branch:</th> <th style="text-align:right;vertical-align:top;">Branch:</th>
<td> <td>

View File

@ -52,8 +52,9 @@ Browse Directory</a></p>
</label> </label>
</td> </td>
</tr> </tr>
[is roottype "cvs"] [is roottype "svn"]
[# For subversion, the branch field is not used ] [# For subversion, the branch field is not used ]
[else]
<tr> <tr>
<th style="text-align:right;vertical-align:top;">Branch:</th> <th style="text-align:right;vertical-align:top;">Branch:</th>
<td> <td>