24 lines
958 B
Text
24 lines
958 B
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<!-- partial start: fundaising_pages/_header -->
|
|
<%# requirements: image_url, is_editor, header_content_partial %>
|
|
<% hide_title = hide_title ? true : false %>
|
|
<% css_style = is_editor ? "style='margin-top: 0'" : '' %>
|
|
|
|
|
|
<header class="container fundraisingHeader--plain" <%= css_style.html_safe %> id='js-fundraisingHeader'>
|
|
<% if banner_image_url %>
|
|
<div class='campaign-banner'>
|
|
<img src='<%= banner_image_url %>'>
|
|
</div>
|
|
<% end %>
|
|
<div class='fundraisingHeader--image-container' id='js-fundraisingHeader-image' style='display: none;'>
|
|
<img class='fundraisingHeader--image-aspectRatio' src="<%= asset_path 'graphics/10x6.jpg' %>">
|
|
</div>
|
|
|
|
<% unless hide_title %>
|
|
<section class='fundraisingHeader-content'>
|
|
<%= render header_content_partial %>
|
|
</section>
|
|
<% end %>
|
|
</header>
|
|
<!-- partial end: fundaising_pages/_header -->
|