{% extends 'baseadmin.html.twig' %} {% import "admin/_macros.html.twig" as macs %} {% block breadcrumb %} {{ parent() }} {% endblock %} {% block title %}{{ parent() }} - Settings{% endblock %} {% block content %}
{{ macs.page_title( 'Settings', 'Manage various settings for Tarin. {i}Some settings may take effect after a few minutes while others can take effect immediately.{/}', ) }} {% for label, messages in app.flashes %} {% for message in messages %}
{{ message }}
{% endfor %} {% endfor %} {#
UrsineLabs Licensing
{% if licensing.invalid %}
{{ licensing.why }}
{% elseif licensing.expired %}
{{ licensing.why }}
Registered to: {{ licensing.details.licensedTo }}
License expired on {{ licensing.details.expiresAt|date('F j, Y') }}
{% else %}
{{ licensing.why }}
Registered to {{ licensing.details.licensedTo }}
{% if licensing.details.expiresAt == -1 %}
You have permanent update access.
{% else %}
Update access expires on {{ licensing.details.expiresAt|date('F j, Y') }}
{% endif %} {% endif %}
Code: {{ licensing.details.status|hcode }}
Manage your license at my.ursinelabs.com
{% if environment == 'dev' %}
Developer Info
{{ dump(licensing.details) }}
{% endif %}
#} {% set groupIcons = { 'general': { 'type': 'solid', 'icon': 'cogs', }, 'user': { 'type': 'solid', 'icon': 'users', }, 'steam': { 'type': 'brands', 'icon': 'steam', }, 'stripe': { 'type': 'solid', 'icon': 'credit-card', }, 'mapbox': { 'type': 'solid', 'icon': 'map', }, 'checkout': { 'type': 'solid', 'icon': 'shopping-cart', }, 'legal': { 'type': 'solid', 'icon': 'file-contract', }, } %}
{% for groupName, settings in settingsByGroup %}

{% for setting in settings %}
{% if setting.type == 'boolean' %}
{% elseif setting.type == 'integer' or setting.type == 'float' %} {% elseif setting.type == 'json' %} {% elseif setting.type == 'datetime' %} {% else %} {% if setting.editTypeOverride == 'textarea' %} {% else %} {% endif %} {% endif %} {% if setting.description %}
{{ setting.description|linkify }}
{% endif %}
{% endfor %}
{% endfor %}
Cancel
{% endblock %}