{#- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -#} {# Each macro is wrapped with an 'if' clause so that a custom theme may extend this file and override individual macros http://stackoverflow.com/questions/26582731/redefining-imported-jinja-macros #} {% if header is undefined %} {%- macro header(login_url, logout_url) %} {%- endmacro %} {% endif %} {% if all_content_wrapper is undefined %} {% macro all_content_wrapper(login_url, logout_url) -%} {{- caller(**kwargs) -}} {%- endmacro %} {% endif %} {% if footer is undefined %} {%- macro footer(year, path_to_static='') %} {%- endmacro %} {% endif %} {% if custom_js is undefined %} {%- macro custom_js(path_to_static) %} {%- endmacro %} {% endif %} {% if custom_tracking_js is undefined %} {%- macro custom_tracking_js(accounts, user, project) %} {%- endmacro %} {% endif %} {% if extra_header is undefined %} {%- macro extra_header(path_to_static) %} {%- endmacro %} {% endif %} {% if breadcrumbs is undefined %} {%- macro breadcrumbs(project, app) %} {%- endmacro %} {% endif %} {% if project_header_right is undefined %} {%- macro project_header_right(project, app) %} {% if project.neighborhood.icon %}
Return to {{project.neighborhood.name}}

{{project.neighborhood.name}}

{% if project.neighborhood.project_list_url %} {% endif %}
{% endif %} {%- endmacro %} {% endif %} {% if login_overlay is undefined %} {%- macro login_overlay() %} {% do g.register_js('js/jquery.lightbox_me.js') %} {% do g.register_forge_js('js/jquery-ui-1.13.2.min.js') %} {% do g.register_js('js/login_overlay.js') %}

Login Required

{%- endmacro %} {% endif %} {% if site_notification is undefined %} {%- macro site_notification() %} {% set note = g.theme.get_site_notification() %} {% if note %}
{{ note.content|subrender }} Close
{% endif %} {%- endmacro %} {% endif %} {% if placeholder_project_icon is undefined %} {%- macro placeholder_project_icon() %}
{%- endmacro %} {% endif %}