<% var requiresPatient = (typeof requiresPatient !== 'undefined') ? requiresPatient : false, linkId = (typeof id !== 'undefined') ? ['id=', id].join('') : "", linkUrl = (typeof url !== 'undefined') ? ['href=', url].join('') : "", linkIcon = (typeof icon !== 'undefined') ? ['data-icon=', icon].join('') : ""; %>
  • data-requires-patient="true" <%}%>> <% if (typeof attributes !== 'undefined') { _.each(attributes, function(i) { %> <%- i.key %> = "<%- i.value %> <% })}; %> class="<%- active %>"> <% if (title === "Logout" && (typeof displayName === 'undefined' || displayName === null )) { %> Login <% } else { %> <%- title %> <% } %>