append page style to icon and list views

This commit is contained in:
Serghei Mihai 2016-04-20 14:59:19 +02:00
parent 4d06872306
commit 91dc01d28d
1 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@
</script>
<script type="text/x-tmpl" id="momo-list-item-tmpl">
<a href="#{%= o.id %}" class="{% if(!o.header){ %} list-group-item {% } %} clearfix {%= o.external ? 'offline-disable' : '' %}">
<a href="#{%= o.id %}" class="{% if(!o.header){ %} list-group-item {% } %} clearfix {%= o.external ? 'offline-disable' : '' %} {%=o.style %}">
{% if(o.header){ %}
<span class="pull-left">
{% if(o.icon){ %}
@ -220,7 +220,7 @@
</script>
<script type="text/x-tmpl" id="momo-icon-item-tmpl">
<div class="col-xs-{%= o.colxs %} col-sm-{%= o.colsm %} col-md-{%= o.colmd %} col-lg-{%= o.collg %}">
<div class="col-xs-{%= o.colxs %} col-sm-{%= o.colsm %} col-md-{%= o.colmd %} col-lg-{%= o.collg %} {%=o.style %}">
<a href="#{%= o.id %}" class="btn btn-block text-center {%= o.className || 'btn-default' %} {%= o.external ? 'offline-disable' : '' %}">
{% if(o.external){ %}
<i class="fa fa-external-link top-right"></i>