{% import "utils.html" as utils %} {% macro show_meta(rev) %}
{{ _('Revision') }}: {{ rev.meta['revid'] | shorten_id }}
{{ _('Size') }}: {{ rev.meta['size'] }}
{{ _('Comment') }}: {{ rev.meta['comment'] }}
{% endmacro %} {# A few style rules to ensure the content doesn't overflow #} {% macro atom_style() %} {% endmacro %} {%- if get == 'xml' -%} {%- elif get == 'comment_cont_merge' -%}

…{{ comment }}


{{ content }} {%- elif get == 'first_revision' -%} {{ content }}
{{ show_meta(rev) }}
{{ atom_style() }} {%- elif get == 'binary' -%} {{ content }}
{{ show_meta(oldrev) }} {{ show_meta(newrev) }}
{{ atom_style() }} {%- endif -%}