{% extends "base.html" %}
{% import "partials/nav.html" as nav %}
{% import "partials/icons.html" as icons %}
{% block title %}{{ mod_info.name }} — Quartermaster{% endblock %}
{% block nav %}{% call nav::nav("mods", user, csrf_token, fika_installed) %}{% endcall %}{% endblock %}
{% block content %}
{{ mod_info.name }}
| Forge ID | {{ mod_info.forge_mod_id }} |
| Version | {{ mod_info.version }} |
{% if let Some(slug) = &mod_info.slug %}
| Slug | {{ slug }} |
{% endif %}
| Installed | {{ mod_info.installed_at }} |
{% if let Some(updated) = &mod_info.updated_at %}
| Updated | {{ updated }} |
{% endif %}
{% if let Some(slug) = &mod_info.slug %}
| Forge | View on Forge ↗ |
{% endif %}
{% if user.role.can_manage_mods() %}
{% endif %}
{% if !dependencies.is_empty() %}
Dependencies
| Mod | Constraint |
{% for dep in &dependencies %}
|
{% if let Some(dep_mod) = &dep.dep_mod %}
{{ dep_mod.name }}
{% else %}
Unknown (ID: {{ dep.dep.depends_on_mod_id }})
{% endif %}
|
{{ dep.dep.version_constraint.as_deref().unwrap_or("any") }} |
{% endfor %}
{% endif %}
Installed Files ({{ archive_files.len() }})
| Path | Size |
{% for f in &archive_files %}
| {{ f.file_path }} |
{{ f.file_size|format_size }} |
{% endfor %}
{% if !runtime_files.is_empty() %}
Runtime Files ({{ runtime_files.len() }})
Generated by the mod after installation — configs, caches, databases.
| Path | Size |
{% for f in &runtime_files %}
| {{ f.file_path }} |
{{ f.file_size|format_size }} |
{% endfor %}
{% endif %}
{% endblock %}