{% extends 'so_base.html' %} {% load static %} {% load auth_extras %} {% block startup %} $("#stid").val(params["stid"]); {% endblock startup %} {% block script %} {% endblock script %} {% block content %} {% if request.yauser|has_group:"superuser" %}
Stid:     
   {% if view.msgid %} Show log by Message-ID            {% endif %} {% if view.queueid %} Show log by QueueID {% endif %} {% if view.text %}

{{ view.text|safe }}
{% elif view.stid %}

Message does not exist :(

{% endif %} {% else %}

You have no permission to use this tool.

{% endif %} {% endblock content %}