Truncate previews of email messages to ~3 lines

Emails can get very long.

When you’re trying to do other things on the page this results in a lot
of scrolling.

This commit truncates email messages to about 3 lines, and adds a JS
toggle which reveal the full contents of the email.
This commit is contained in:
Chris Hill-Scott
2016-04-11 15:16:41 +01:00
parent 33e1b2679f
commit 3a5b76ce2a
8 changed files with 108 additions and 6 deletions

View File

@@ -51,7 +51,7 @@
{% endfor %}
{% endcall %}
<p class="bottom-gutter">
<p class="table-show-more-link">
<a href="{{ url_for('.get_example_csv', service_id=current_service.id, template_id=template.id) }}">Download this example</a>
</p>