<%
  show_title_for_user_selection ||= false
  show_title_for_project_selection ||= false
  text_subcription_upgraded = l('easy_trial_expiration.text_subscription_upgraded')
%>
<% if show_title_for_user_selection %>
  <% user_limit ||= EasyLicenseManager.get_internal_user_limit - EasyLicenseManager.get_active_user_count %>
  <div id="title_for_user_selection" class="ui-dialog-titlebar_selection">
    <h3><%= text_subcription_upgraded + ' ' + l('easy_trial_expiration.text_activate_more_users', user_limit: user_limit) %></h3>
    <h3 id="label_selected_users_count"><%= "0/#{user_limit}" %></h3>
    </div>
  </div>
<% end %>
<% if show_title_for_project_selection %>
  <% project_limit ||= EasyLicenseManager.get_active_project_limit - EasyLicenseManager.get_active_project_count -%>
  <div id="title_for_project_selection" class="<%= show_title_for_user_selection ? 'hidden' : 'ui-dialog-titlebar_selection' %>">
    <h3><%= text_subcription_upgraded + ' ' + l('easy_trial_expiration.text_activate_more_projects', project_limit: project_limit) %></h3>
    <h3 id="label_selected_projects_count"><%= "0/#{project_limit}" %></h3>
    </div>
  </div>
<% end %>
