{{ task.get_priority_display }}

{{ task.title }}

{% if task.description %}

{{ task.description|truncatewords:20 }}

{% endif %}
{% if task.category %}{{ task.category }}{% endif %} {% if task.estimated_duration_minutes %}{{ task.estimated_duration_minutes }} min{% endif %} {% if task.is_recurring %}Repeats{% endif %} {% if task.weather_profile != 'none' %}☀ {{ task.get_weather_profile_display }}{% endif %}
{% if task.predicted_weather %}

Forecast for this task: {{ task.predicted_weather_label }}{% if task.predicted_weather.temperature_max_c is not None %}, {{ task.predicted_weather.temperature_max_c|floatformat:0 }} °C{% endif %}

{% endif %} {% if task.subtasks.all %}

{{ task.subtasks.count }} subtask{{ task.subtasks.count|pluralize }}{% if task.is_completed %} unlocked{% else %} — complete this task to unlock{% endif %}

{% endif %}