Skip to content

Commit

Permalink
fix(web): move ssh input form
Browse files Browse the repository at this point in the history
  ref: MANAGER-14955

Signed-off-by: Antony MARION <[email protected]>
  • Loading branch information
Antony MARION authored and antonymarion committed Nov 4, 2024
1 parent c87f915 commit d9c370f
Showing 1 changed file with 20 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,6 @@
<p data-translate="hosting_multisite_git_association_configure_description"></p>

<form class="form-inline" name="$ctrl.gitAssociationForm">
<div
data-ng-if="$ctrl.model.repositoryUrl && !$ctrl.model.repositoryUrl.startsWith('https://')"
>
<h3 data-translate="hosting_multisite_git_association_ssh_key"></h3>
<p
data-translate="hosting_multisite_git_association_ssh_key_description"
></p>
<div class="row">
<oui-field
class="col-md-4"
data-label="{{ ::'hosting_multisite_git_association_ssh_key' | translate }}"
>
<oui-clipboard
name="sshKey"
data-model=":: $ctrl.sshKey"
></oui-clipboard>
</oui-field>
</div>
</div>
<h3 data-translate="hosting_multisite_git_association_configure"></h3>

<oui-message type="info">
Expand Down Expand Up @@ -129,6 +110,26 @@ <h3 data-translate="hosting_multisite_git_association_configure"></h3>
</oui-field>
</div>

<div
data-ng-if="$ctrl.model.repositoryUrl && !$ctrl.model.repositoryUrl.startsWith('https://')"
>
<h3 data-translate="hosting_multisite_git_association_ssh_key"></h3>
<p
data-translate="hosting_multisite_git_association_ssh_key_description"
></p>
<div class="row">
<oui-field
class="col-md-4"
data-label="{{ ::'hosting_multisite_git_association_ssh_key' | translate }}"
>
<oui-clipboard
name="sshKey"
data-model=":: $ctrl.sshKey"
></oui-clipboard>
</oui-field>
</div>
</div>

<h3 data-translate="hosting_multisite_git_association_configure_auto"></h3>
<p
data-translate="hosting_multisite_git_association_webhook_description"
Expand Down

0 comments on commit d9c370f

Please sign in to comment.