38 lines
989 B
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 %}
|