Mercurial > libervia-templates
diff sat_templates/templates/default/merge-request/discover.html @ 164:e9f0a4215e46
multi-sites handling (moved templates to "templates" sub-directory) + noscript styles handling.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 10 Sep 2018 08:53:33 +0200 |
parents | sat_templates/default/merge-request/discover.html@954759f0e8fa |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/default/merge-request/discover.html Mon Sep 10 08:53:33 2018 +0200 @@ -0,0 +1,25 @@ +{% extends 'base/base.html' %} +{% import 'components/block.html' as block with context %} +{% import 'components/images.html' as images with context %} +{% import 'components/avatar.html' as avatar with context %} +{% import 'input/form.html' as form with context %} +{% import 'input/field.html' as field with context %} + +{% block body %} +{{ icon_defs('merge') }} +<p class="instructions--head"> + {% trans %} + Please select a merge-requests handler + {% endtrans %} +</p> +{% if mr_handlers is defined %} + <div class="disco_tickets"> + {{block.disco_icon_grid(mr_handlers, 'merge')}} + </div> +{% endif %} + +{% call form.form(class="form--single") %} + {{ field.text("jid", _("handler jid"), required=true)}} + {{ field.submit(_("Access")) }} +{% endcall %} +{% endblock body %}