2022-02-01 22:22:28 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ _("Community Hub") }} -
|
|
|
|
{{ _('%(title)s by %(author)s', title=package.title, author=package.author.display_name) }}
|
|
|
|
{% endblock %}
|
|
|
|
|
2023-04-30 01:53:55 +02:00
|
|
|
{% block description -%}
|
|
|
|
{{ _('Mods and texture packs for %(title)s', title=package.title) }}
|
|
|
|
{% endblock %}
|
2022-02-01 22:22:28 +01:00
|
|
|
|
|
|
|
{% block headextra %}
|
2023-06-18 22:56:19 +02:00
|
|
|
{% if package.get_thumb_url(3, True) %}
|
|
|
|
<meta name="og:image" content="{{ package.get_thumb_url(3, True) }}"/>
|
2022-02-01 22:22:28 +01:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% from "macros/packagegridtile.html" import render_pkggrid %}
|
|
|
|
|
|
|
|
<h1 class="mb-5">
|
|
|
|
{{ _("Community Hub") }} -
|
2023-06-18 22:56:19 +02:00
|
|
|
<a href="{{ package.get_url('packages.view') }}">
|
2022-02-01 22:22:28 +01:00
|
|
|
{{ _('%(title)s by %(author)s', title=package.title, author=package.author.display_name) }}
|
|
|
|
</a>
|
|
|
|
</h1>
|
|
|
|
|
2023-08-22 20:58:43 +02:00
|
|
|
<a href="{{ url_for('packages.list_all', sort='approved_at', order='desc', game=package.get_id()) }}" class="btn btn-secondary float-end">
|
2022-02-01 22:22:28 +01:00
|
|
|
{{ _("See more") }}
|
|
|
|
</a>
|
|
|
|
<h2 class="my-3">{{ _("Recently Added") }}</h2>
|
|
|
|
{{ render_pkggrid(new) }}
|
|
|
|
|
|
|
|
|
2023-08-22 20:58:43 +02:00
|
|
|
<a href="{{ url_for('packages.list_all', sort='last_release', order='desc', game=package.get_id()) }}" class="btn btn-secondary float-end">
|
2022-02-01 22:22:28 +01:00
|
|
|
{{ _("See more") }}
|
|
|
|
</a>
|
|
|
|
<h2 class="my-3">{{ _("Recently Updated") }}</h2>
|
|
|
|
{{ render_pkggrid(updated) }}
|
|
|
|
|
|
|
|
|
2023-08-22 20:58:43 +02:00
|
|
|
<a href="{{ url_for('packages.list_all', type='mod', sort='score', order='desc', game=package.get_id()) }}" class="btn btn-secondary float-end">
|
2022-02-01 22:22:28 +01:00
|
|
|
{{ _("See more") }}
|
|
|
|
</a>
|
|
|
|
<h2 class="my-3">{{ _("Top Mods") }}</h2>
|
|
|
|
{{ render_pkggrid(pop_mod) }}
|
|
|
|
|
|
|
|
|
2023-08-22 20:58:43 +02:00
|
|
|
<a href="{{ url_for('packages.list_all', type='txp', sort='score', order='desc', game=package.get_id()) }}" class="btn btn-secondary float-end">
|
2023-01-12 20:48:18 +01:00
|
|
|
{{ _("See more") }}
|
|
|
|
</a>
|
|
|
|
<h2 class="my-3">{{ _("Top Texture Packs") }}</h2>
|
|
|
|
{{ render_pkggrid(pop_txp) }}
|
|
|
|
|
|
|
|
|
2023-08-22 20:58:43 +02:00
|
|
|
<a href="{{ url_for('packages.list_all', sort='reviews', order='desc', game=package.get_id()) }}" class="btn btn-secondary float-end">
|
2022-02-01 22:22:28 +01:00
|
|
|
{{ _("See more") }}
|
|
|
|
</a>
|
|
|
|
<h2 class="my-3">{{ _("Highest Reviewed") }}</h2>
|
|
|
|
{{ render_pkggrid(high_reviewed) }}
|
|
|
|
|
|
|
|
{% endblock %}
|