Commit 54f47653 authored by Chenu Denis's avatar Chenu Denis
Browse files

[fix] Some vanilla theme didn't have justsaved.twig file

- https://gitlab.com/SondagesPro/SurveyThemes/skelvanilla/-/issues/36
parent 9bc3b71b
{% if (intval(aSurveyInfo.options.showpopups) >= 0 and aSurveyInfo.saved.text) %}
{% set savedClass = 'success' %}
{% if (not aSurveyInfo.saved.success) %}
{% set savedClass = 'error' %}
{% endif %}
{% if (aSurveyInfo.active != "Y") %}
{% set savedClass = 'info' %}
{% endif %}
<div class="alert alert-{{ savedClass }} alert-dismissible fade in{% if(intval(aSurveyInfo.options.showpopups) > 0) %} ls-js-hidden{% endif %} " role="alert">
<button class="close ls-no-js-hidden" data-dismiss="alert"><span aria-hidden="true">x</span><span class="sr-only">{{ gT("Close") }}</span></button>
{{ aSurveyInfo.saved.text }}
</div>
{% endif %}
Markdown is supported
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