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

Add team planner video to the project and common upsale template

bsatarnejad237f1d59c6fa
diff --git a/app/views/common/upsale.html.erb b/app/views/common/upsale.html.erb
index 9832d74ce68..ab6cbeb98dc 100644
--- a/app/views/common/upsale.html.erb
+++ b/app/views/common/upsale.html.erb
@@ -20,10 +20,14 @@
</p>
<% end %>
- <% if feature_image.empty? %>
- <%= image_tag "enterprise_edition.png", class: "widget-box--teaser-image" %>
+ <% if feature_video.empty? %>
+ <% if feature_image.empty? %>
+ <%= image_tag "enterprise_edition.png", class: "widget-box--teaser-image" %>
+ <% else %>
+ <%= image_tag feature_image, class: "widget-box--teaser-image" %>
+ <% end %>
<% else %>
- <%= image_tag feature_image, class: "widget-box--teaser-image" %>
+ <%= video_tag feature_video, :controls => false, class: "widget-box--teaser-video", autoplay: true, loop: true, muted: true %>
<% end %>
<p> <%= feature_title %> <%= t('admin.enterprise.enterprise_info_html') %>
diff --git a/public/videos/team-planner-animation.mp4 b/public/videos/team-planner-animation.mp4
new file mode 100644
index 00000000000..70e7933f641
Binary files /dev/null and b/public/videos/team-planner-animation.mp4 differ