- Posts: 9
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
An extended theme is not affected by updates.Obviously, I would like to use the custom.css to avoid fixing after each update.
{# Use twig from core, if the question is mandatory,return ./subviews/survey/question_subviews/asterisk.twig #} {% if (aQuestion.mandatory == 'Y') %} {{ include('./subviews/survey/question_subviews/asterisk.twig') }} {% endif %} {# If the question number is to be shown (set in survey settings) #} {% if (aShow.question_number) %} <span class='{{ aSurveyInfo.class.questionnumber }}' {{ aSurveyInfo.attr.questionnumber }} > {{ aQuestion.number }} </span> {% endif %} {# If the question code is to be shown (set in survey settings) #} {% if (aShow.question_code) %} <span class='{{ aSurveyInfo.class.questioncode }}' {{ aSurveyInfo.attr.questioncode }}> {{ aQuestion.code }} </span> {% endif %} {# The question text as entered by the survey creator in question editing #} <div class="{{ aSurveyInfo.class.questiontext }}" {{ aSurveyInfo.attr.questiontext }}> <div id="ls-question-text-{{ aQuestion.SGQ }}" class="{{ aSurveyInfo.class.lsquestiontext }}" {{ aSurveyInfo.attr.lsquestiontext }}> {{ aQuestion.text | raw }} </div> </div>
{# If the question code is to be shown (set in survey settings) #} {% if (aShow.question_code) %} <span class='{{ aSurveyInfo.class.questioncode }}' {{ aSurveyInfo.attr.questioncode }}> {{ aQuestion.code }} </span> {% endif %} {# The question text as entered by the survey creator in question editing #} <div class="{{ aSurveyInfo.class.questiontext }}" {{ aSurveyInfo.attr.questiontext }}> <div id="ls-question-text-{{ aQuestion.SGQ }}" class="{{ aSurveyInfo.class.lsquestiontext }}" {{ aSurveyInfo.attr.lsquestiontext }}> {% if (aQuestion.mandatory == 'Y') %} {{ include('./subviews/survey/question_subviews/asterisk.twig') }} {% endif %} {# If the question number is to be shown (set in survey settings) #} {% if (aShow.question_number) %} {{ aQuestion.number }}. {% endif %} {{ aQuestion.text | raw }} </div> </div>
<sup><i class="asterisk ri-asterisk" title="{{ gT("(This question is mandatory)") }}"></i></sup>
.top-container .progress { height: 20px; }
<div class="{{ aSurveyInfo.class.progressbar }}" {{ aSurveyInfo.attr.progressbar }} style="width: {{ progressValue }}%;">{{ progressValue }}% of {{ aSurveyInfo.iTotalquestions }} questions </div>
Please Log in to join the conversation.