From 0cfe202e33fb35ed4f8e446dba04c00ef951a6bf Mon Sep 17 00:00:00 2001 From: Joost van Dijk <vandijk.joost@gmail.com> Date: Wed, 6 Dec 2017 15:37:27 +0100 Subject: [PATCH] add twig template for hostnames --- templates/hostnames.twig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 templates/hostnames.twig diff --git a/templates/hostnames.twig b/templates/hostnames.twig new file mode 100644 index 000000000..79f6411f0 --- /dev/null +++ b/templates/hostnames.twig @@ -0,0 +1,20 @@ +{% set pagetitle = 'Diagnostics on hostname, port and protocol'|trans %} +{% extends "base.twig" %} + +{% block content %} + <h2>{{ pagetitle }}</h2> + {% set items = attributes %} + + {% embed '_table.twig' %} + + {% block namecol %} + <td class="attrname"><samp>{{ name }}</samp></td> + {% endblock %} + + {% block value %} + {{ value }} + {% endblock %} + + {% endembed %} + +{% endblock %} -- GitLab