{{#eq portlet.portletType 'CONTAINER'}}
  {{#if portlet.psControls}}
  <div class="portlet-card" :bordered="false" dis-hover :padding="0">
  {{else}}
  <div class="portlet-card custom-card" :bordered="false" dis-hover :padding="10">
  {{/if}}
    {{#if (and portlet.showTitleBar portlet.title)}}
    <div class="portlet-card-title">{{portlet.title}}</div>
    {{/if}}
    <div class="portlet-container">
      {{>(lookup 'DASHBOARD') ctrl=portlet}}            
    </div>
  </div>
{{else}}
  <{{codeName}}Portlet
    ref="portlet"
    name="{{portlet.name}}"
    :context="state.context"
    :viewParams="state.viewParams"
    :viewSubject="state.viewSubject"
    :parent="dashboardControl"
    @ctrlEvent="onCtrlEvent"      
  ></{{codeName}}Portlet>
{{/eq}}
