<%
  active_user_limit_exceeded ||= false
  active_project_limit_exceeded ||= false
%>
<% if active_user_limit_exceeded %>
  <% user_limit = EasyLicenseManager.get_internal_user_limit %>
  <div id="title_for_user_selection" class="ui-dialog-titlebar_selection">
    <h3><%= l(:'easy_trial_expiration.text_select_active_users', limit: user_limit) %></h3>
    <h3 id="label_selected_users_count"><%= "1/#{user_limit}" %></h3>
    </div>
  </div>
<% end %>

<% if active_project_limit_exceeded %>
  <% project_limit = EasyLicenseManager.get_active_project_limit %>
  <div id="title_for_project_selection" class="<%= active_user_limit_exceeded ? 'hidden' : 'ui-dialog-titlebar_selection' %>">
    <h3><%= l(:'easy_trial_expiration.text_select_active_projects', limit: project_limit) %></h3>
    <h3 id="label_selected_projects_count"><%= "0/#{project_limit}" %></h3>
    </div>
  </div>
<% end %>
