{# -*- coding: utf-8 -*-
This file is part of Invenio.
Copyright (C) 2023 CERN.
Invenio is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
#}
{%- from "invenio_github/helpers.html" import doi_badge with context -%}
{%- macro panel_start(
title,
icon="",
btn_help_text='',
btn_text='',
btn_loading_text='',
btn_icon='',
btn_href='',
btn_class='',
btn_id='',
btn_name='',
loaded_message_id='',
id="",
panel_extra_class="secondary"
)
%}
{%- block panel_start scoped %}
{{ btn_help_text }}
{% if icon %}{% endif %}{{ title }}
{% if latest_release %}