{# This snippet is displayed at the top of the calendar on desktop to show important tool information #} {% load custom_tags_and_filters %}
{{ tool.name }}
{% if customizations|get_item:"calendar_status_bar_show_tool_pinned_comments" == "enabled" %} {% for pinned_comment in tool.pinned_comments.all %}
{{ pinned_comment.content }}
{% endfor %} {% endif %} {% if customizations|get_item:"calendar_status_bar_show_tool_latest_problem" == "enabled" %} {% if last_problem %}
{{ last_problem.problem_description }}
{% endif %} {% if other_problems > 0 %}
{# djlint:off #} see {{ other_problems }} more problem{% if other_problems > 1 %}s{% endif %} {# djlint:on #}
{% endif %} {% endif %}