[Kimchi-devel] [PATCH] [Kimchi] Fixed noTemplate message display

rajgupta at linux.vnet.ibm.com rajgupta at linux.vnet.ibm.com
Tue Sep 27 09:03:32 UTC 2016


From: Rajat Gupta <rajgupta at linux.vnet.ibm.com>

Fixed NoTemplate message display issue also
removed duplicate alert-container div

Signed-off-by: Rajat Gupta <rajgupta at linux.vnet.ibm.com>
---
 ui/pages/tabs/templates.html.tmpl | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/ui/pages/tabs/templates.html.tmpl b/ui/pages/tabs/templates.html.tmpl
index 7616796..1d3bdf3 100644
--- a/ui/pages/tabs/templates.html.tmpl
+++ b/ui/pages/tabs/templates.html.tmpl
@@ -74,10 +74,6 @@
                  </div>
             </div>
             <div id="alert-container"></div>
-            <div id="noTemplates" class="list-no-result" style="display: none;">
-                $_("No templates found.")
-            </div>
-            <div id="alert-container"></div>
             <ul id="templates-grid" class="wok-vm-list hidden empty-when-logged-off">
                 <li class="wok-vm-header">
                         <span class="column-name">$_("Template Name (ID)")</span><!--
@@ -93,6 +89,9 @@
                     </li>
             </ul>
         </div>
+        <div id="noTemplates" class="list-no-result" style="display: none;">
+            $_("No templates found.")
+        </div>
     </div>
     <div class="wok-mask">
         <div class="wok-mask-loader-container">
-- 
2.1.0




More information about the Kimchi-devel mailing list