mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 22:42:25 +01:00
52 lines
1.4 KiB
HTML
52 lines
1.4 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ package.title }}
|
|
{% endblock %}
|
|
|
|
{% block description -%}
|
|
{{ package.short_desc }}
|
|
{% endblock %}
|
|
|
|
{% block headextra %}
|
|
{% if package.get_thumb_url(3, True) -%}
|
|
<meta name="og:image" content="{{ package.get_thumb_url(3, True) }}"/>
|
|
{%- endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if package.approved_at %}
|
|
<h1>{{ _("Package Removed") }}</h1>
|
|
<p>
|
|
{{ _("This package has been unpublished.") }}
|
|
{{ _("It may have been removed by choice of the author, or by ContentDB staff due to a problem.") }}
|
|
</p>
|
|
{% elif package.state.name == "READY_FOR_REVIEW" %}
|
|
<h1>{{ _("Package Undergoing Review") }}</h1>
|
|
<p>
|
|
{{ _("This package is currently undergoing review") }}
|
|
</p>
|
|
{% elif package.state.name == "WIP" %}
|
|
<h1>{{ _("Package Not Yet Submitted") }}</h1>
|
|
<p>
|
|
{{ _("This package has been created but hasn't been submitted for approval yet.") }}
|
|
</p>
|
|
{% else %}
|
|
<h1>{{ _("Package Undergoing Review") }}</h1>
|
|
<p>
|
|
{{ _("This package is currently undergoing review, and changes are needed before it can be added.") }}
|
|
</p>
|
|
{% endif %}
|
|
<p>
|
|
{{ _("Please check back again later.") }}
|
|
{% if not current_user.is_authenticated %}
|
|
{{ _("Or, if you're the author, log in to see more information.") }}
|
|
{% endif %}
|
|
</p>
|
|
{% if not current_user.is_authenticated %}
|
|
<p>
|
|
<a href="{{ url_for('users.login') }}" class="btn btn-primary">{{ _("Login") }}</a>
|
|
</p>
|
|
{% endif %}
|
|
{% endblock %}
|