Skip to content

Commit

Permalink
Fix UI for plugin manager's Advanced settings with ExtendedRead
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-beck committed Feb 7, 2024
1 parent c00a30d commit 37f4ba5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions core/src/main/resources/hudson/PluginManager/advanced.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,18 @@ THE SOFTWARE.
<h2 class="jenkins-section__title">${%Update Site}</h2>
<f:form method="post" action="siteConfigure" name="siteConfigure">
<f:entry title="${%URL}">
<j:if test="${app.updateCenter.ID_DEFAULT.equals(app.updateCenter.PREDEFINED_UPDATE_SITE_ID)}">
<a id="reset-to-default" href="#">${%Reset to default}</a>
</j:if>
<l:isAdmin>
<j:if test="${app.updateCenter.ID_DEFAULT.equals(app.updateCenter.PREDEFINED_UPDATE_SITE_ID)}">
<a id="reset-to-default" href="#">${%Reset to default}</a>
</j:if>
</l:isAdmin>
<f:textbox name="site"
id="update-site-url"
value="${app.updateCenter.getSite(app.updateCenter.ID_DEFAULT).url}"
checkUrl="checkUpdateSiteUrl" checkDependsOn=""/>
</f:entry>
<st:adjunct includes="hudson.PluginManager._updateSite"/>
<l:isAdmin>
<st:adjunct includes="hudson.PluginManager._updateSite"/>
<f:block>
<f:submit/>
</f:block>
Expand Down

0 comments on commit 37f4ba5

Please sign in to comment.