OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/views/enterprises/show.html.erb

49 lines
1.7 KiB

<% html_title t(:label_administration), t(:label_enterprise_edition) %>
<%= toolbar title: t(:label_enterprise_edition) do %>
<li class="toolbar-item">
<%= link_to( "#{OpenProject::Static::Links.links[:upsale][:href]}?utm_source=ce-token-admin",
{ class: 'button -alt-highlight',
title: t('admin.enterprise.order')}) do %>
<i class="button--icon icon-add"></i>
<span class="button--text"><%= t('admin.enterprise.order') %></span>
<% end %>
</li>
<% end %>
<%= error_messages_for 'token' %>
<% if @current_token.present? %>
<%= render partial: "current" %>
<% else %>
<div class="notification-box upsale-notification">
<div class="notification-box--content">
<h3><%= t('admin.enterprise.upgrade_to_ee') %></h3>
<%= image_tag "enterprise_edition.png", class: "widget-box--teaser-image" %>
<p><%= t('homescreen.blocks.upsale.description') %></p>
<ul class="">
<li>
<%= t('homescreen.blocks.upsale.additional_features') %>
</li>
<li>
<%= t('homescreen.blocks.upsale.professional_support') %>
</li>
</ul>
<p>
<b><%= t('homescreen.blocks.upsale.become_hero') %></b> <%= t('homescreen.blocks.upsale.you_contribute') %>
</p>
<%= link_to( "#{OpenProject::Static::Links.links[:upsale][:href]}?utm_source=ce-enterprise-admin",
{ class: 'button -alt-highlight',
aria: {label: t('admin.enterprise.order')},
title: t('admin.enterprise.order')}) do %>
<i class="button--icon icon-add"></i>
<span class="button--text"><%= t('admin.enterprise.order') %></span>
<% end %>
</div>
</div>
<% end %>
<%= render partial: "form" %>