kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
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.
53 lines
2.2 KiB
53 lines
2.2 KiB
3 years ago
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
||
|
<meta name="viewport" content="width=device-width">
|
||
|
<%= output_title_and_meta_tags %>
|
||
|
<%= sentry_frontend_tags %>
|
||
|
|
||
|
<% relative_url_root = OpenProject::Configuration['rails_relative_url_root'] || '' %>
|
||
|
<meta name="app_base_path" content="<%= relative_url_root %>"/>
|
||
|
<base href="<%= relative_url_root %>/" />
|
||
|
<% if @project %>
|
||
|
<meta name="current_project"
|
||
|
data-project-name="<%= h @project.name %>"
|
||
|
data-project-id="<%= @project.id %>"
|
||
|
data-project-identifier="<%= @project.identifier %>"/>
|
||
|
<% end %>
|
||
|
<% unless User.current.anonymous? %>
|
||
|
<meta name="current_user"
|
||
|
data-name="<%= User.current.name %>"
|
||
|
data-mail="<%= User.current.mail %>"
|
||
|
data-id="<%= User.current.id %>" />
|
||
|
<% end %>
|
||
|
|
||
|
<% if Setting.demo_projects_available %><meta name="demo_projects_available" content="true"/><% end %>
|
||
|
<% if Setting.boards_demo_data_available %><meta name="boards_demo_data_available" content="true"/><% end %>
|
||
|
<%= csrf_meta_tags %>
|
||
|
<%= initializer_meta_tag %>
|
||
|
|
||
|
<!-- global meta hooks before any scripts are loaded-->
|
||
|
<%= call_hook :view_layouts_base_html_meta %>
|
||
|
|
||
|
<%= render 'common/favicons' %>
|
||
|
|
||
|
<%# Include CLI assets (development) or prod build assets %>
|
||
|
<%= include_frontend_assets %>
|
||
|
|
||
|
<%# Render CSS highlighting %>
|
||
|
<%= stylesheet_link_tag "/highlighting/styles/#{highlight_css_version_tag}",
|
||
|
media: :all,
|
||
|
skip_pipeline: true %>
|
||
|
|
||
|
<%# Custom styles %>
|
||
|
<%= render partial: "custom_styles/inline_css_logo" %>
|
||
|
<% if apply_custom_styles? %>
|
||
|
<% cache(CustomStyle.current) do %>
|
||
|
<%= render partial: "custom_styles/inline_css" %>
|
||
|
<% if CustomStyle.current.favicon.present? %>
|
||
|
<link rel="icon" type="image/png" href="<%= custom_style_favicon_path(digest: CustomStyle.current.digest, filename: CustomStyle.current.favicon_identifier) %>" sizes="32x32">
|
||
|
<% end %>
|
||
|
<% if CustomStyle.current.touch_icon.present? %>
|
||
|
<link rel="apple-touch-icon" sizes="180x180" href="<%= custom_style_touch_icon_path(digest: CustomStyle.current.digest, filename: CustomStyle.current.touch_icon_identifier) %>">
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
<%= crowdin_in_context_translation %>
|