{% extends "generic/object.html" %} {% load buttons %} {% load perms %} {% load plugins %} {% load helpers %} {% load tz %} {% load i18n %} {% load l10n %} {% block control-buttons %} {% if perms.extras.add_bookmark and object.bookmarks %} {% bookmark_button object %} {% endif %} {% if perms.extras.add_subscription and object.subscriptions %} {% subscribe_button object %} {% endif %} {% if request.user|can_change:object %} {% edit_button object %} {% endif %} {% if request.user|can_delete:object %} {% delete_button object %} {% endif %} {% endblock control-buttons %} {% block title %}{{object}}{% endblock %} {% block content %}
Access Location
{% include 'sop_infra/tools/display_detail.html' with name="name" %} {% include 'sop_infra/tools/display_detail.html' with name="slug" %} {% include 'sop_infra/tools/display_detail.html' with name="compute_location" link=1 view="detail" %}
{% trans "Time Zone" %} {% if object.time_zone %} {{ object.time_zone }} ({% trans "UTC" %} {{ object.time_zone|tzoffset }})
{% trans "Site time" %}: {% timezone object.time_zone %}{% now 'Y-m-d H:i' %}{% endtimezone %} {% else %} {{ ''|placeholder }} {% endif %}
{% trans "Physical Address" %} {% if object.physical_address %} {{ object.physical_address|linebreaksbr }} {% if config.MAPS_URL %} {% trans "Map" %} {% endif %} {% else %} {{ ''|placeholder }} {% endif %}
{% trans "GPS Coordinates" %} {% if object.latitude and object.longitude %} {% if config.MAPS_URL %} {% endif %} {{ object.latitude }}, {{ object.longitude }} {% else %} {{ ''|placeholder }} {% endif %}
{% include "inc/panels/related_objects.html" %}
{% if endpoint %}
{% endif %}
{% endblock %}