"Fossies" - the Fresh Open Source Software Archive

Member "roundup-2.0.0/share/roundup/templates/jinja2/html/msg.index.html" (3 Apr 2020, 1273 Bytes) of package /linux/www/roundup-2.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {% extends 'layout/page.html' %}
    2 
    3 {% block head_title %}
    4   {% trans %}List of messages{% endtrans %}
    5 {% endblock %}
    6 
    7 {% block page_header %}
    8   {% trans %}List of messages{% endtrans %}
    9 {% endblock %}
   10 
   11 {% block content %}
   12 
   13   {% for msg in context.list() %}
   14     <div>
   15       <dl class="row row-cols-1 row-cols-md-2 row-cols-lg-3">
   16         <div class="col row">
   17           <dt class="col col-auto">{% trans %}Author{% endtrans %}</dt>
   18           <dd class="col col-auto">{{ msg.author.plain()|u }}</dd>
   19         </div>
   20         <div class="col row">
   21           <dt class="col col-auto">{% trans %}Date{% endtrans %}</dt>
   22           <dd class="col col-auto">{{ msg.date.plain()|u }}</dd>
   23         </div>
   24         <div class="col row">
   25           <dt class="col col-auto">{% trans %}Message id{% endtrans %}</dt>
   26           <dd class="col col-auto">{{ msg.id }}</dd>
   27         </div>
   28       </dl>
   29       <div>
   30       {% if msg.type == 'text/markdown' %}
   31         <div class="msg">{{ msg.content.markdown()|u|safe }}</div>
   32       {% elif msg.type == 'text/x-rst' %}
   33         <div class="msg">{{ msg.content.rst()|u|safe }}</div>
   34       {% else %}
   35         <pre class="msg">{{ msg.content.hyperlinked()|u|safe }}</pre>
   36       {% endif %}
   37       </div>
   38     </div>
   39     <hr>
   40   {% endfor %}
   41 
   42 {% endblock %}