Skip to content

Commit

Permalink
Select only for multiples domains.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiarn committed Apr 29, 2023
1 parent ce154b7 commit 543820e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/dns_api/resources/partial/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h2>{{provider}}</h2>
</div>

<div ng:show="domains.length > 0">
<div class="form-group">
<div class="form-group" ng:if="domains.length > 1">
<label translate>Select domain: </label>
<select
ng:options="domain for domain in domains"
Expand All @@ -21,6 +21,10 @@ <h2>{{provider}}</h2>
</select>
</div>

<div class="form-group" ng:if="domains.length == 1">
<label translate>Selected domain: {{active_domain}}</label>
</div>

<table class="table">
<tr>
<th translate>Name</th>
Expand Down

0 comments on commit 543820e

Please sign in to comment.