Skip to content

Commit

Permalink
Hide templates have moved on creation screen (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Jan 20, 2025
1 parent bfe2c96 commit 523ebfe
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@
with="azureCredentialsId,maxVirtualMachinesLimit,deploymentTimeout,resourceGroupReferenceType,newResourceGroupName,existingResourceGroupName"/>
</l:isAdmin>

<div class="alert alert-info">
<a href="templates">${%Agent templates have moved}</a>.
</div>
<!--
Don't show this link on Cloud creation page as it won't have the name in the path.
There's nothing to differentiate that this is a new cloud or an existing cloud except mandatory values not being set.
-->
<j:if test="${it.azureCredentialsId != null}">
<div class="alert alert-info">
<a href="templates">${%Agent templates have moved}</a>.
</div>
</j:if>
</j:jelly>

0 comments on commit 523ebfe

Please sign in to comment.