Commit a66efb98 authored by Chenu Denis's avatar Chenu Denis Committed by Chenu Denis
Browse files

[fix] options css class

[fix] Color none set panel-default


(cherry picked from commit b27fe6eb)
parent a86d5018
......@@ -624,7 +624,7 @@
<option value="panel">{{ gT("Panel wrapper") }}</option>
</select>
</div>
<p class="help-block col-xs-12"><p>Option to add a border and coloured background for questions. <a href="https://getbootstrap.com/docs/3.3/components/#wells" target="_blank">Wells wrapper</a> uses rounded border. <a href="https://getbootstrap.com/docs/3.3/components/#panels-alternatives" target="blank">Panel wrapper</a> includes background colour.</p>
<p class="help-block col-xs-12">Option to add border and colour for questions. <a href="https://getbootstrap.com/docs/3.3/components/#wells" target="_blank">Wells wrapper</a> uses rounded border. <a href="https://getbootstrap.com/docs/3.3/components/#panels-alternatives" target="blank">Panel wrapper</a> includes background colour.</p>
</div>
</div>
</div>
......
......@@ -115,7 +115,7 @@
{% set start_panel_body = 1 %}
{% set close_panel_body = 1 %}
{% set panel_heading = 1 %}
{% if ( questioncolor ) %}
{% if ( questioncolor and questioncolor != 'none' ) %}
{% set questioncontainerclass = 'panel panel-'~questioncolor %}
{% set questioncolor = '' %}
{% else %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment