fix message alert

pull/2487/head
Alex Aragon 9 years ago
parent 031ac00eb6
commit 7912fab9f7
  1. 4
      app/Resources/public/css/base.css
  2. 4
      main/template/default/course_progress/progress.tpl

@ -4142,6 +4142,10 @@ ul.holder li.bit-box{
height: 30px; height: 30px;
display: block; display: block;
} }
.alert-thematic{
margin-top: 10px;
display: inline-block;
}
.thematic .thematic-advance{ .thematic .thematic-advance{
margin-top: 10px; margin-top: 10px;
display: inline-block; display: inline-block;

@ -41,7 +41,9 @@
{% endif %} {% endif %}
<div class="thematic_plan_{{ item.id }}"> <div class="thematic_plan_{{ item.id }}">
{% if item.thematic_plan is empty %} {% if item.thematic_plan is empty %}
<p>{{ 'StillDoNotHaveAThematicPlan' | get_lang }}</p> <div class="alert-thematic">
<div class="alert alert-info" role="alert">{{ 'StillDoNotHaveAThematicPlan' | get_lang }}</div>
</div>
{% else %} {% else %}
{% for subitem in item.thematic_plan %} {% for subitem in item.thematic_plan %}
<h4>{{ subitem.title }}</h4> <h4>{{ subitem.title }}</h4>

Loading…
Cancel
Save