This is an automated email from the ASF dual-hosted git repository.

nvazquez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new c0fe3dc  ui : Fix linting issue (#6023)
c0fe3dc is described below

commit c0fe3dc827288c983a865396063d8abd268021fb
Author: davidjumani <[email protected]>
AuthorDate: Tue Feb 22 19:48:46 2022 +0530

    ui : Fix linting issue (#6023)
    
    * ui : Fix linting issue
    
    * make it more appealing
---
 ui/src/views/network/EgressRulesTab.vue | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/ui/src/views/network/EgressRulesTab.vue 
b/ui/src/views/network/EgressRulesTab.vue
index ba76ee9..63fb9bf 100644
--- a/ui/src/views/network/EgressRulesTab.vue
+++ b/ui/src/views/network/EgressRulesTab.vue
@@ -18,10 +18,11 @@
 <template>
   <div>
     <div>
-      <div
+      <a-alert
+        type="info"
         v-html="$t('message.egress.rules.info.for.network').replace('%x', 
resource.egressdefaultpolicy ? '<b>' + $t('label.allow') + '</b>' :
-        '<b>' + $t('label.deny') + '</b>').replace('%y', 
resource.egressdefaultpolicy ? '<b>' + $t('message.denied') + '</b>' : '<b>' + 
$t('message.allowed') + '</b>')"> </div>
-        <a-divider />
+          '<b>' + $t('label.deny') + '</b>').replace('%y', 
resource.egressdefaultpolicy ? '<b>' + $t('message.denied') + '</b>' : '<b>' + 
$t('message.allowed') + '</b>')" />
+      <a-divider />
       <div class="form" v-ctrl-enter="addRule">
         <div class="form__item">
           <div class="form__label">{{ $t('label.sourcecidr') }}</div>

Reply via email to