{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
-->*}
{strip}
   <div class="col-sm-12 col-xs-12 ">
        <div id="listview-actions" class="listview-actions-container">
	    <div class = "row">
                <div class="col-md-6 pull-right">
		   <a class="btn btn-default pull-right editButton" href="{$ADD_URL}">{vtranslate('LBL_ADD', $QUALIFIED_MODULE)}</a>
                </div>
            </div>
            <div class="list-content row">
                <div class="col-sm-12 col-xs-12 ">
                 <div id="table-content" class="table-container" style="padding-top:0px !important;">
                    <table id="listview-table"  class="table listview-table">
                       <thead>
                          <tr class="listViewContentHeader">
				<th nowrap>SI.No</th>
                            {foreach item=LISTVIEW_HEADER from=$LISTVIEW_HEADERS}
                                 <th nowrap>
					{$LISTVIEW_HEADER}
                                 </th>
                             {/foreach}
                          </tr>
                       </thead>
                       <tbody class="overflow-y">
                          {foreach item=RECORD key=row_count from=$RECORDS}
                             <tr class="listViewEntries row-{$RECORD['id']}" data-id="{$RECORD['id']}" > 
				    <td>{$row_count}</td>
                                 {foreach item=Values key=column from=$RECORD}
				     {if $column neq 'id' && $column neq 'editUrl'}
                                     	<td class="listViewEntryValue {$WIDTHTYPE}"  width="{$WIDTH}%" nowrap style='cursor:text;'>{vtranslate($Values,$QUALIFIED_MODULE)}</td>
				     {else if $column eq 'editUrl'}
                                     	<td class="listViewEntryValue {$WIDTHTYPE}"  width="{$WIDTH}%" nowrap style='cursor:text;'><a href="{$Values}">{vtranslate('LBL_EDIT', $QUALIFIED_MODULE)}</a> | <a href="#" class="atm_row_del" data-ser-id="{$RECORD['id']}">{vtranslate('LBL_DELETE', $QUALIFIED_MODULE)}</a> </td>
				     {/if}		
                                 {/foreach}
                             </tr>
                          {/foreach}
                       </tbody>
                    </table>

                    <!--added this div for Temporarily -->
                    {if $LISTVIEW_ENTRIES_COUNT eq '0'}
                       <table class="emptyRecordsDiv">
                          <tbody>
                             <tr>
                                <td>
                                   {vtranslate('LBL_NO')} {vtranslate($MODULE, $QUALIFIED_MODULE)} {vtranslate('LBL_FOUND')}
                                </td>
                             </tr>
                          </tbody>
                       </table>
                    {/if}
                 </div>
                 <div id="scroller_wrapper" class="bottom-fixed-scroll">
                    <div id="scroller" class="scroller-div"></div>
                </div>
                </div>
              </div>
        </div>
    </div>
{/strip}
