"Fossies" - the Fresh Open Source Software Archive

Member "roundup-2.0.0/share/roundup/templates/jinja2/html/layout/view.tmpl" (29 Feb 2020, 1004 Bytes) of package /linux/www/roundup-2.0.0.tar.gz:


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

    1 {% macro field_large(text, name) %}
    2   <div class="col col-lg-12 row">
    3     <dt class="col col-4 col-md-3 col-lg-2">{{ i18n.gettext(text)|u|safe }}</dt>
    4     <dd class="col col-8 col-md-9 col-lg-10">{{ context[name].plain()|u }}</dd>
    5   </div>
    6 {% endmacro -%}
    7 {% macro field_large_value(text, value) %}
    8   <div class="col col-lg-12 row">
    9     <dt class="col col-4 col-md-3 col-lg-2">{{ i18n.gettext(text)|u|safe }}</dt>
   10     <dd class="col col-8 col-md-9 col-lg-10">{{ value|u|safe }}</dd>
   11   </div>
   12 {% endmacro -%}
   13 {% macro field_small(text, name) %}
   14   <div class="col row mr-1">
   15     <dt class="col col-4 col-md-3 col-lg-4">{{ i18n.gettext(text)|u|safe }}</dt>
   16     <dd class="col col-8 col-md-9 col-lg-8">{{ context[name].plain()|u }}</dd>
   17   </div>
   18 {% endmacro -%}
   19 {% macro field_small_value(text, value) %}
   20   <div class="col row mr-1">
   21     <dt class="col col-4 col-md-3 col-lg-4">{{ i18n.gettext(text)|u|safe }}</dt>
   22     <dd class="col col-8 col-md-9 col-lg-8">{{ value|u|safe }}</dd>
   23   </div>
   24 {% endmacro -%}