Skip to content

Commit

Permalink
fix(pci.db): fixing qa feedback
Browse files Browse the repository at this point in the history
datatr-324

Signed-off-by: Arthur Bullet <[email protected]>
  • Loading branch information
abullet33 committed Jul 27, 2023
1 parent a24c3a1 commit 9926c3e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
group="advanced_configuration"
>
<!--Advanced config-->
<div class="row">
<div class="row justify-content-between">
<oui-field
data-label="{{:: 'pci_databases_topics_create_topic_replication' | translate }}"
class="col"
class="col-5"
>
<oui-numeric
model="$ctrl.model.replication"
Expand All @@ -44,7 +44,7 @@
</oui-field>
<oui-field
data-label="{{:: 'pci_databases_topics_create_topic_partitions' | translate }}"
class="col"
class="col-5"
>
<oui-numeric
model="$ctrl.model.partitions"
Expand All @@ -53,23 +53,11 @@
>
</oui-numeric>
</oui-field>
<oui-field
data-label="{{:: 'pci_databases_topics_create_topic_retention_bytes' | translate }}"
class="col"
>
<input
class="oui-input"
name="retentionBytes"
type="number"
ng-model="$ctrl.model.retentionBytes"
min="-1"
/>
</oui-field>
</div>
<div class="row">
<div class="row justify-content-between">
<oui-field
data-label="{{:: 'pci_databases_topics_create_topic_retention_hours' | translate }}"
class="col"
class="col-5"
>
<oui-numeric
model="$ctrl.model.retentionHours"
Expand All @@ -80,7 +68,7 @@
</oui-field>
<oui-field
data-label="{{:: 'pci_databases_topics_create_topic_min_insync_replicas' | translate }}"
class="col"
class="col-5"
>
<oui-numeric
model="$ctrl.model.minInsyncReplicas"
Expand All @@ -89,9 +77,23 @@
>
</oui-numeric>
</oui-field>
</div>
<div class="row justify-content-between">
<oui-field
data-label="{{:: 'pci_databases_topics_create_topic_retention_bytes' | translate }}"
class="col-5"
>
<input
class="oui-input"
name="retentionBytes"
type="number"
ng-model="$ctrl.model.retentionBytes"
min="-1"
/>
</oui-field>
<oui-field
data-label="{{:: 'pci_databases_topics_create_topic_min_cleanup_policy' | translate }}"
class="col"
class="col-5"
>
<oui-select
name="cleanupPolicy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pci_databases_topics_tab_partitions": "Partitions",
"pci_databases_topics_tab_replication": "Réplication",
"pci_databases_topics_tab_minInsyncReplicas": "Réplica in-sync minimum",
"pci_databases_topics_tab_retention_hours": "Temps de rétention",
"pci_databases_topics_tab_retention_hours": "Temps de rétention (heures)",
"pci_databases_topics_tab_retention_bytes": "Taille de rétention (octets)",
"pci_databases_topics_tab_cleanup_policy": "Politique de suppression",
"pci_databases_topics_tab_status": "Statut",
Expand Down

0 comments on commit 9926c3e

Please sign in to comment.