Replace message_status component with banner

Message status was almost identical to banner, visually and semantically.
This consolidates the two into one component.

This means adding an extra parameter which controls whether or not the banner
has a tick (with and without a tick are the only two variations currently).
This commit is contained in:
Chris Hill-Scott
2016-01-11 11:27:42 +00:00
parent b303e06ca0
commit 85b0b4af21
7 changed files with 25 additions and 45 deletions

View File

@@ -10,11 +10,3 @@
</p>
{% endif %}
{% endmacro %}
{% macro message_status(status, time) %}
<div class="sms-message-history">
<p class="sms-message-history-heading">
{{ status }} <span class="sms-message-history-heading-time">{{ time }}</span>
</p>
</div>
{% endmacro %}