Skip to content

Commit

Permalink
Fix UI for plugin manager's Advanced settings with SystemRead (#8942)
Browse files Browse the repository at this point in the history
Fix UI for plugin manager's Advanced settings with ExtendedRead

Co-authored-by: Daniel Beck <[email protected]>
  • Loading branch information
daniel-beck and daniel-beck authored Feb 9, 2024
1 parent d5c9e6a commit 76df167
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 76df167

Please sign in to comment.