Move chat template out of compress
This commit is contained in:
parent
2854ac97e9
commit
9f0213865d
2 changed files with 5 additions and 5 deletions
|
@ -42,6 +42,11 @@
|
||||||
|
|
||||||
return receiver;
|
return receiver;
|
||||||
}
|
}
|
||||||
|
let message_template = `
|
||||||
|
{% with message=message_template %}
|
||||||
|
{% include "chat/message.html" %}
|
||||||
|
{% endwith %}
|
||||||
|
`;
|
||||||
$(function() {
|
$(function() {
|
||||||
load_dynamic_update({{last_msg}});
|
load_dynamic_update({{last_msg}});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
let message_template = `
|
|
||||||
{% with message=message_template %}
|
|
||||||
{% include "chat/message.html" %}
|
|
||||||
{% endwith %}
|
|
||||||
`;
|
|
||||||
let META_HEADER = [
|
let META_HEADER = [
|
||||||
"{{_('Recent')}}",
|
"{{_('Recent')}}",
|
||||||
"{{_('Following')}}",
|
"{{_('Following')}}",
|
||||||
|
|
Loading…
Reference in a new issue