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

Lucio Correia luciojhc at linux.vnet.ibm.com
Tue Sep 27 12:44:47 UTC 2016


Reviewed-By: Lucio Correia <luciojhc at linux.vnet.ibm.com>

On 27-09-2016 06:03, rajgupta at linux.vnet.ibm.com wrote:
> 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">
>


-- 
Lucio Correia
Software Engineer
IBM LTC Brazil




More information about the Kimchi-devel mailing list