{% extends "packages/package_base.html" %} {% block title %} {{ _("Supported Games") }} {% endblock %} {% block content %}

{{ self.title() }}

This feature is experimental

{{ _("Read more") }} {{ _("Support is determined based on dependencies and fields in mod.conf") }}

{{ _("Package") }} {{ _("Source") }} {{ _("Supported?") }}
{% for support in package.getSortedSupportedGames(True) %}
{{ _("%(title)s by %(display_name)s", title=support.game.title, display_name=support.game.author.display_name) }} {% if support.confidence == 1 %} {{ _("Detected from dependencies") }} {% elif support.confidence == 8 %} {{ _("Added by Editor") }} {% elif support.confidence == 10 %} {{ _("mod.conf") }} {% else %} {{ support.confidence }} {% endif %} {% if support.supports %} Yes {% else %} No {% endif %}
{% else %}
{{ _("No specific game is required") }}
{% endfor %}
{% if form %}

Options

{% from "macros/forms.html" import render_field, render_checkbox_field, render_submit_field %}
{{ form.hidden_tag() }} {{ render_checkbox_field(form.enable_support_detection) }} {% if package.checkPerm(current_user, "EDIT_PACKAGE") and current_user not in package.maintainers %}

{{ _("Added by Editor") }}

{{ render_field(form.supported) }} {{ render_field(form.unsupported) }} {% endif %} {{ render_submit_field(form.submit, class_="mt-4 btn btn-primary") }}
{% endif %} {% endblock %}