add icon based on template vars

This commit is contained in:
bellwood 2016-07-14 10:57:32 -04:00 committed by GitHub
parent bbce31edd7
commit 2e14294ead

View File

@ -8,6 +8,7 @@
<div class="panel panel-{{ panel_class|default:'default' }}">
{% if heading %}
<div class="panel-heading">
<i class="fa fa-fw fa-{{ icon }}"></i>
<strong>{{ heading }}</strong>
</div>
{% endif %}