This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
passerelle-maarch/passerelle_maarch/templates/passerelle_maarch/detail.html

38 lines
989 B
HTML

{% extends "passerelle_maarch/base.html" %}
{% load i18n passerelle %}
{% block appbar %}
<h2>Maarch - {{ object.title }}</h2>
{% if perms.passerelle_maarch.change_passerelle_maarch %}
<a rel="popup" class="button" href="{% url 'maarch-edit' slug=object.slug %}">{% trans 'edit' %}</a>
{% endif %}
{% if perms.passerelle_maarch.delete_passerelle_maarch %}
<a rel="popup" class="button" href="{% url 'maarch-delete' slug=object.slug %}">{% trans 'delete' %}</a>
{% endif %}
{% endblock %}
{% block content %}
<div>
<h3>{% trans 'Endpoints' %}</h3>
<ul>
<li>{% trans 'Check WSDL availability:' %} <a href="{% url 'maarch-ping' slug=object.slug %}"
>{{ site_base_uri }}{% url 'maarch-ping' slug=object.slug %}</a></li>
</ul>
</div>
{% if perms.base.view_accessright %}
<div>
<h3>{% trans "Security" %}</h3>
<p>
{% trans 'Access is limited to the following API users:' %}
</p>
{% access_rights_table resource=object permission='can_access' %}
{% endif %}
</div>
{% endblock %}