2017-09-24 00:44:29 +02:00
|
|
|
{% extends "zerver/base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
2017-10-05 19:53:49 +02:00
|
|
|
<div style="position: fixed">
|
|
|
|
<div class="alert">
|
|
|
|
All the emails sent in the Zulip development environment are logged here. You can also
|
|
|
|
manually generate most of the emails by clicking <a href="/emails/generate">here</a>.
|
|
|
|
To clear this log click <a href="/emails/clear">here</a>
|
|
|
|
</div>
|
|
|
|
<div style="text-align:right">
|
|
|
|
<label>
|
|
|
|
<input type="checkbox" id="toggle"/>
|
|
|
|
<strong>Show text only version</strong>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$('#toggle').change(function() {
|
|
|
|
if($('.email-text').css('display') == 'none') {
|
|
|
|
$(".email-text").each(function() {
|
|
|
|
$(this).css("display", "block");
|
|
|
|
});
|
|
|
|
$(".email-html").each(function() {
|
|
|
|
$(this).css("display", "none");
|
|
|
|
});
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$(".email-text").each(function() {
|
|
|
|
$(this).css("display", "none");
|
|
|
|
});
|
|
|
|
$(".email-html").each(function() {
|
|
|
|
$(this).css("display", "block");
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<div style="padding-top:100px">
|
|
|
|
{{ log |safe }}
|
2017-09-24 00:44:29 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|