<div class="sidebar-dropdown">
	<ul id="navMobile">
	    <li data-eb-event="content.refresh" data-eb-params="user" >
	    	<a href="#"><i class="icon-bar-chart"></i>User</a>
	    </li>
	    <li data-eb-event="content.refresh" data-eb-params="group" >
	    	<a href="#"><i class="icon-bar-chart"></i>Group</a>
	    </li>
	    <li data-eb-event="content.refresh" data-eb-params="repos">
	    	<a href="#"><i class="icon-bar-chart"></i>Repository</a>
	    </li>
	
	    {{if type > 0}}
	    {{if docSysType > 0}}
		<li data-eb-event="content.refresh" data-eb-params="systemLog">
	    	<a href="#"><i class="icon-bar-chart"></i>System Log</a>
	    </li>
	    {{/if}}
	    {{/if}}
	
	    {{if type == 2}}
	    <li data-eb-event="content.refresh" data-eb-params="system" class="has_sublist">
	        <a href="#" class=''>
	            <i class="icon-list-alt"></i>System<span class="pull-right"><i class="icon-chevron-right"></i></span>
	        </a> 
	        <ul id="sidebarSystemSublist" class="sublist" style="display:none">
	            <li data-eb-event="content.refresh" data-eb-params="systemUpgrade"><a href="#"  class="open">System Setting</a></li>
	            <li data-eb-event="content.refresh" data-eb-params="systemLicenses"><a href="#" >Install License</a></li>
	            <li data-eb-event="content.refresh" data-eb-params="systemEmailConfig"><a href="#" >Email Service</a> </li>
	            <li data-eb-event="content.refresh" data-eb-params="systemSmsConfig"><a href="#" >SMS Service</a> </li>
	            <li data-eb-event="content.refresh" data-eb-params="systemDbConfig"><a href="#" >Data Source</a> </li>
	            <li data-eb-event="content.refresh" data-eb-params="systemMigrate"><a href="#" >Migrate System</a> </li>
	        </ul>
	    </li>
	    {{/if}}
	
	    {{if type == 2}}
	    {{if isSalesServer == 1}}
		<li data-eb-event="content.refresh" data-eb-params="license">
	    	<a href="#"><i class="icon-bar-chart"></i>License</a>
	    </li>
	    <li data-eb-event="content.refresh" data-eb-params="order">
	    	<a href="#"><i class="icon-bar-chart"></i>Order</a>
	    </li>
	    {{/if}}
	    {{/if}}
	</ul>
</div>

<!--- Sidebar navigation -->
<!-- If the main navigation has sub navigation, then add the class "has_sub" to "li" of main navigation. -->
<ul id="nav">
    <li data-eb-event="content.refresh" data-eb-params="user" >
    	<a href="#"><i class="icon-bar-chart"></i>User</a>
    </li>
    <li data-eb-event="content.refresh" data-eb-params="group" >
    	<a href="#"><i class="icon-bar-chart"></i>Group</a>
    </li>
    <li data-eb-event="content.refresh" data-eb-params="repos">
    	<a href="#"><i class="icon-bar-chart"></i>Repository</a>
    </li>

    {{if type > 0}}
    {{if docSysType > 0}}
	<li data-eb-event="content.refresh" data-eb-params="systemLog">
    	<a href="#"><i class="icon-bar-chart"></i>SystemLog</a>
    </li>
    {{/if}}
    {{/if}}

    {{if type == 2}}
    <li data-eb-event="content.refresh" data-eb-params="system" class="has_sublist">
        <a href="#" class=''>
            <i class="icon-list-alt"></i>System<span class="pull-right"><i class="icon-chevron-right"></i></span>
        </a> 
        <ul id="sidebarSystemSublist" class="sublist" style="display:none">
            <li data-eb-event="content.refresh" data-eb-params="systemUpgrade"><a href="#"  class="open">System Setting</a></li>
            <li data-eb-event="content.refresh" data-eb-params="systemLicenses"><a href="#" >Install License</a></li>
            <li data-eb-event="content.refresh" data-eb-params="systemEmailConfig"><a href="#" >Email Service</a> </li>
            <li data-eb-event="content.refresh" data-eb-params="systemSmsConfig"><a href="#" >SMS Service</a> </li>
            <li data-eb-event="content.refresh" data-eb-params="systemDbConfig"><a href="#" >Data Source</a> </li>
	        <li data-eb-event="content.refresh" data-eb-params="systemMigrate"><a href="#" >Migrate System</a> </li>
        </ul>
    </li>
    {{/if}}

    {{if type > 0}}
    {{if isSalesServer == 1}}
	<li data-eb-event="content.refresh" data-eb-params="license">
    	<a href="#"><i class="icon-bar-chart"></i>License</a>
    </li>
    <li data-eb-event="content.refresh" data-eb-params="order">
    	<a href="#"><i class="icon-bar-chart"></i>Order</a>
    </li>
    {{/if}}
    {{/if}}
</ul>