From: Rajat Gupta <rajgupta(a)linux.vnet.ibm.com>
Fixed NoTemplate message display issue also
removed duplicate alert-container div
Signed-off-by: Rajat Gupta <rajgupta(a)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