<% if (typeof leftAction !== 'undefined' && leftAction) { %> data-mini='true' data-role="button" data-icon=<%=leftAction.icon%> class="ui-btn-left" <%if(leftAction.noText===true) {%>data-iconpos="notext"<%}%>><%= leftAction.name %> <% } %> <% if (typeof itemCount !== 'undefined') { %>

<%= title %> (<%= itemCount %>)

<% } else { %>

<%= title %>

<% } %> <% if (typeof rightAction !== 'undefined' && rightAction) { %> <% if (rightAction.dropdown === true) { %> <% } else { %> data-mini='true' data-role="button" data-icon=<%=rightAction.icon%> class="ui-btn-right" <%if(rightAction.noText===true) {%>data-iconpos="notext"<%}%>><%= rightAction.name %> <% } %> <% } %>