Mercurial > p > roundup > code
view share/roundup/templates/jinja2/html/msg.index.html @ 8566:e4191aa7b402 default tip
doc: issue2551415 correct doc for change input->input_payload
in 2.5 the rest interface changed a variable name from input to
input_payload. An earlier commit changed the rest docs. This commit
adds an item for it to the upgrading 2.4.0->2.5.0 section. Also cross
reference added to the rest docs with the updated examples.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 09 Apr 2026 00:19:06 -0400 |
| parents | b1b3b84f07a5 |
| children |
line wrap: on
line source
{% extends 'layout/page.html' %} {% block head_title %} {% trans %}List of messages{% endtrans %} {% endblock %} {% block page_header %} {% trans %}List of messages{% endtrans %} {% endblock %} {% block content %} {% for msg in context.list() %} <div> <dl class="row row-cols-1 row-cols-md-2 row-cols-lg-3"> <div class="col row"> <dt class="col col-auto">{% trans %}Author{% endtrans %}</dt> <dd class="col col-auto">{{ msg.author.plain()|u }}</dd> </div> <div class="col row"> <dt class="col col-auto">{% trans %}Date{% endtrans %}</dt> <dd class="col col-auto">{{ msg.date.plain()|u }}</dd> </div> <div class="col row"> <dt class="col col-auto">{% trans %}Message id{% endtrans %}</dt> <dd class="col col-auto">{{ msg.id }}</dd> </div> </dl> <div> {% if msg.type == 'text/markdown' %} <div class="msg">{{ msg.content.markdown()|u|safe }}</div> {% elif msg.type == 'text/x-rst' %} <div class="msg">{{ msg.content.rst()|u|safe }}</div> {% else %} <pre class="msg">{{ msg.content.hyperlinked()|u|safe }}</pre> {% endif %} </div> </div> <hr> {% endfor %} {% endblock %}
