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/homescreen/blocks/_upsale.html.erb

31 lines
1.2 KiB

<%= render 'homescreen/blocks/header', title: t('homescreen.blocks.upsale.title') %>
<div class="widget-box--description">
<%= image_tag "enterprise_edition.png", class: "widget-box--teaser-image" %>
<p>
<%= t('js.admin.enterprise.upsale.text') %>
</p>
</div>
<div class="widget-box--blocks--buttons">
<% if current_user.admin? %>
<%= link_to t('js.admin.enterprise.upsale.button_start_trial'), enterprise_path, class: 'button -alt-highlight' %>
<% end %>
<%= link_to "#{OpenProject::Static::Links.links[:upsale][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=home-screen",
{ class: 'button -highlight',
aria: {label: t('homescreen.blocks.upsale.more_info')},
target: '_blank',
title: t('homescreen.blocks.upsale.more_info')} do %>
<span class="button--text"><%= t('homescreen.blocks.upsale.more_info') %></span>
<%= op_icon('button--icon icon-external-link') %>
<% end %>
</div>
<span><b><%= t('js.admin.enterprise.upsale.become_hero') %></b></span>
<p><%= t('js.admin.enterprise.upsale.you_contribute') %></p>
<p>
<b><%= t('js.admin.enterprise.upsale.confidence') %></b>
</p>