{# 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 tool.has_reservation_rules or tool.has_reservation_usage_rules %}
{% if customizations|get_item:"calendar_status_bar_show_tool_reservation_policy" == "enabled" %}
Reservation policy
{% endif %}
{% endif %}
{% 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 %}