{% extends "base.html" %} {% from 'components/ui.html' import page_header %} {% block title %}{{ _('Edit Task') }} - {{ task.name }} - Time Tracker{% endblock %} {% block extra_css %} {% endblock %} {% block content %} {% set actions %} {{ _('Back to Task') }} {% endset %} {{ page_header('fas fa-edit', _('Edit Task'), subtitle_text=_('Update task details and settings for "%(task)s"', task=task.name), actions_html=actions, breadcrumbs=[{'text': _('Tasks'), 'url': url_for('tasks.list_tasks')}, {'text': task.name, 'url': url_for('tasks.view_task', task_id=task.id)}, {'text': _('Edit')}]) }}
{{ _('Task Information') }}

{{ _('Choose a clear, descriptive name that explains what needs to be done') }}

{{ _('Optional: Add context, requirements, or specific instructions for the task') }}

{{ _('Select the project this task belongs to') }}

{{ _('Preview') }}: {{ task.priority_display }} {{ task.status_display }}

{{ _('Optional: Set a deadline for this task') }}

{{ _('Optional: Estimate how long this task will take') }}

{{ _('Optional: Assign this task to a team member') }}

{{ _('Comma-separated tags for categorization') }}

{{ _('Optional: Color for this task on the Gantt chart. If unset, the project color is used. Pick or enter a hex code (e.g. #3b82f6).') }}

{{ _('Cancel') }}
{{ _('Progress') }}
{{ _('Estimate used') }} {{ task.progress_percentage }}%
{{ _('Actual') }}: {{ task.total_hours }} {{ _('h') }} {% if task.estimated_hours %} · {{ _('Estimated') }}: {{ task.estimated_hours }} {{ _('h') }} {% endif %} {% if task.total_billable_hours %} · {{ _('Billable') }}: {{ task.total_billable_hours }} {{ _('h') }} {% endif %}
{{ _('Current Task Info') }}
{{ _('Current Status') }} {{ task.status_display }}
{{ _('Current Priority') }} {{ task.priority_display }}
{{ _('Project') }}
{{ task.project.name }}
{% if task.assigned_user %}
{{ _('Currently Assigned To') }}
{{ task.assigned_user.display_name }}
{% endif %} {% if task.due_date %}
{{ _('Current Due Date') }}
{{ task.due_date|format_date }}
{% endif %} {% if task.estimated_hours %}
{{ _('Current Estimate') }}
{{ task.estimated_hours }} {{ _('hours') }}
{% endif %} {% if task.total_hours > 0 %}
{{ _('Actual Hours') }}
{{ task.total_hours }} {{ _('hours') }}
{% endif %}
{{ _('Created') }}{{ task.created_at|user_datetime if task.created_at else '-' }}
{{ _('Updated') }}{{ task.updated_at|user_datetime if task.updated_at else '-' }}
{{ _('Started') }}{{ task.started_at|user_datetime if task.started_at else '-' }}
{{ _('Completed') }}{{ task.completed_at|user_datetime if task.completed_at else '-' }}
{{ _('Quick Actions') }}
{{ _('View Task') }} {% if task.status == 'todo' or task.status == 'in_progress' %} {{ _('Start Timer') }} {% endif %} {{ _('Back to Tasks') }}
{{ _('Edit Tips') }}
{{ _('Status Changes') }} {{ _('Changing status may affect time tracking and progress calculations') }}
{{ _('Due Date Updates') }} {{ _('Consider team workload when adjusting deadlines') }}
{{ _('Assignment Changes') }} {{ _('Notify team members when reassigning tasks') }}
{% endblock %} {% block scripts_extra %} {% endblock %}