{% extends "base.html.twig" %} {% import "components/new_version.macro.html.twig" as nv %} {% import "components/search.macro.html.twig" as search %} {% block content %} {% if is_granted('@system.show_updates') %} {{ nv.new_version_alert(new_version_available, new_version, new_version_url) }} {% endif %} {% if is_granted('@parts.read') %} {{ search.search_form("standalone") }}
{% endif %}

{{ partdb_title }}

{% trans %}version.caption{% endtrans %}: {{ shivas_app_version }} {% if git_branch is not empty or git_commit is not empty %} ({{ git_branch ?? '' }}/{{ git_commit ?? '' }}) {% endif %}

{% if banner is not empty %}
{{ banner | format_markdown }}
{% endif %}
{% if show_first_steps %}

{% trans %}homepage.first_steps.title{% endtrans %}

{% trans with {"%url%": "https://docs.part-db.de/usage/getting_started.html"} %}homepage.first_steps.introduction{% endtrans %}
{% trans with {"%url%": path('part_new')} %}homepage.first_steps.create_part{% endtrans %}
{% trans %}homepage.first_steps.hide_hint{% endtrans %}
{% endif %}

{% trans %}homepage.license{% endtrans %}

Part-DB, Copyright © 2019 - {{ "now" | date("Y") }} of Jan Böhmer .
Part-DB is published under the GNU Affero General Public License v3.0 (or later), so it comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Click here for details.

{% trans %}homepage.github.caption{% endtrans %}: {% trans with {'%href%': 'https://github.com/Part-DB/Part-DB-server'}%}homepage.github.text{% endtrans %}
{% trans %}homepage.help.caption{% endtrans %}: {% trans with {'%href%': 'https://docs.part-db.de/'}%}homepage.help.text{% endtrans %}
{% trans %}homepage.forum.caption{% endtrans %}: {% trans with {'%href%': 'https://github.com/Part-DB/Part-DB-server/discussions'}%}homepage.forum.text{% endtrans %}
{% if datatable is not null %}
{% trans %}homepage.last_activity{% endtrans %}
{% import "components/history_log_macros.html.twig" as log %} {{ log.last_activity_component(datatable) }}
{% endif %} {% endblock %}