{% extends "layouts/base.html" %} {% block main_content %} {% set breadcrumbs = [ {"name": t('nav.home'), "url": "/", "icon": "fas fa-home"}, {"name": t('template.list'), "icon": "fas fa-layer-group"} ] %} {% set header_title = t('template.list') %} {% set header_subtitle = t('template.list_desc') %} {% set header_icon = "fas fa-layer-group" %} {% set header_actions = [ { "type": "button", "text": t('template.new'), "url": "/templates/new", "icon": "fas fa-plus", "style": "primary" } ] %} {% include "components/page_header.html" %}
{% if templates %}

{{ t('template.custom') }}

{{ t('template.custom_desc') }}

    {% for template in templates %}
  • {% if template.category == 'Business' %} {% elif template.category == 'Technical' %} {% elif template.category == 'Creative' %} {% elif template.category == 'Analytical' %} {% else %} {% endif %}

    {{ template.name }}

    {{ t('template.category.' + template.category.lower()) or template.category }}
    {% if template.description %}

    {{ template.description }}

    {% endif %} {% if template.variables %}
    {{ template.variables.split(',') | length }} {{ t('template.variables').lower() }}
    {% endif %}
    {% if not template.is_builtin %} {% endif %}
  • {% endfor %}
{% else %}

{{ t('template.custom') }}

{{ t('template.custom_desc') }}

{{ t('template.empty') }}

{{ t('template.empty_desc') }}

{{ t('template.create') }}
{% endif %}

{{ t('template.category.business') }}

{{ t('template.category.business_desc') }}

Email Writing
Meeting Summary
Proposal Writing

{{ t('template.category.technical') }}

{{ t('template.category.technical_desc') }}

Code Review
API Documentation
Bug Report

{{ t('template.category.creative') }}

{{ t('template.category.creative_desc') }}

Blog Post
Social Media
Story Writing
{% endblock %}