<%
  owner ||= User.owner
  mail = owner ? owner.mail : 'support@easyproject.com'
%>
<div class="ui-dialog-content_regular flash error">
  <p>
    <%= l(:'easy_trial_expiration.text_your_account_has_been_locked') %>
  </p>
  <p>
    <%= l(:'easy_trial_expiration.text_contact_admin', mail: mail_to(mail)).html_safe %>
  </p>
</div>
<% if User.current.logged? %>
    <%= content_tag(:a, link_to(l(:label_logout), force_user_logout_path)) %>
    <%# else %>
    <%#= content_tag(:a, link_to(l(:label_login), signin_url)) %>
<% end %>
