<% var hasIcon = icon ? 1 : 0; %> <% if (hasIcon) { %> <% } %><%- gettext(name) %> <% if (is_closable) { %> <% } %>