{% extends "base.html" %} {% from "components/ui.html" import page_header, breadcrumb_nav, button, filter_badge %} {% block title %}Time Entry Templates - {{ config.APP_NAME }}{% endblock %} {% block content %} {% set breadcrumbs = [ {'text': 'Time Entry Templates'} ] %} {{ page_header( icon_class='fas fa-file-lines', title_text='Time Entry Templates', subtitle_text='Create reusable templates for quick time entries', breadcrumbs=breadcrumbs, actions_html='New Template' ) }} {% if templates %}
{% for template in templates %}

{{ template.name }}

{% if template.project %} {{ template.project.name }} {% endif %}
{% if template.task %}
{{ template.task.name }}
{% endif %} {% if template.default_duration %}
{{ template.default_duration }} hours
{% endif %} {% if template.default_notes %}
{{ template.default_notes }}
{% endif %} {% if template.tags %}
{{ template.tags }}
{% endif %}
Used {{ template.usage_count }} time{{ 's' if template.usage_count != 1 else '' }} {% if template.last_used_at %} Last used {{ template.last_used_at|timeago }} {% endif %}
{% endfor %}
{% else %}

No templates yet

Create your first time entry template to speed up your workflow

Create Your First Template
{% endif %} {% endblock %}