Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

957 B
Raw Blame
<div id="pending-migrations-warning" class="warning-bar--item unsupported-browser-warning--pane">
  <span class="icon3 icon-warning"></span>

  <% if setting_protocol_mismatched? %>
    <p>
      <strong><%= t "warning_bar.https_mismatch.title" %></strong>
      <br>
      <%= t "warning_bar.https_mismatch.text_html",
            set_protocol: Setting.protocol,
            actual_protocol: request.ssl? ? "https" : "http",
            setting_value: request.ssl? ? "OPENPROJECT_HTTPS=true" : "OPENPROJECT_HTTPS=false",
            more_info_path: installation_guide_link %>
    </p>
  <% end %>

  <% if setting_hostname_mismatched? %>
    <p>
      <strong><%= t "warning_bar.hostname_mismatch.title" %></strong>
      <br>
      <%= t "warning_bar.hostname_mismatch.text_html",
            set_hostname: Setting.host_name,
            actual_hostname: request.host,
            setting_path: admin_settings_general_path %>
    </p>
  <% end %>

</div>