Skip to content
Permalink
Browse files
Merge pull request #11 from jenkinsci/bug/JENKINS-44997
[JENKINS-44997] - Do not use table in BeriodicBackupLink submission form
  • Loading branch information
oleg-nenashev committed Jun 21, 2017
2 parents 7752b85 + 1c2fe6b commit 9d2518869d9ecf161991ada284717c8a4853171c
Showing with 23 additions and 22 deletions.
  1. +23 −22 src/main/resources/org/jenkinsci/plugins/periodicbackup/PeriodicBackupLink/index.jelly
@@ -38,28 +38,29 @@
</j:when>
<j:otherwise>
<h3>Locations:</h3>
<f:form method="post" action="restore">
<j:set var="noBackups" value="true"/>
<j:forEach var="location" items="${it.locations}">
<div>
<h4>${location.displayName}</h4>
<table>
<j:forEach var="backup" items="${location.availableBackups}">
<tr>
<td><f:radio name="backupHash" value="${backup.hashCode()}"/></td>
<td>${backup.displayName}</td>
<j:set var="noBackups" value="false"/>
</tr>
</j:forEach>
</table>
</div>
</j:forEach>
<div style="padding:4px">
<j:if test="${noBackups == 'false'}">
<f:submit value="${%restore.launch}"/>
</j:if>
</div>
</f:form>
<f:form method="post" action="restore">
<j:set var="noBackups" value="true"/>
<j:forEach var="location" items="${it.locations}">
<div>
<h4>${location.displayName}</h4>

<j:forEach var="backup" items="${location.availableBackups}">
<f:radio name="backupHash" value="${backup.hashCode()}"/>
${backup.displayName}
<br/>

<j:set var="noBackups" value="false"/>
</j:forEach>
</div>
</j:forEach>

<div>
<j:if test="${noBackups == 'false'}">
<f:submit value="${%restore.launch}"/>
</j:if>
</div>

</f:form>
</j:otherwise>
</j:choose>
</l:main-panel>

0 comments on commit 9d25188

Please sign in to comment.