Skip to content

Commit

Permalink
Dev: moved relevant views to messages/
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Dec 4, 2017
1 parent 5498589 commit 3f6382f
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion themes/survey/vanilla/views/layout_global.twig
Expand Up @@ -110,7 +110,7 @@
{% endblock %}

{# Bootstrap alert modal #}
{{ include('./subviews/bootstrap_alert_modal.twig') }}
{{ include('./subviews/messages/bootstrap_alert_modal.twig') }}

{# Basic ThemeScript options #}
{{ registerScript("BasicThemeScripts", " if(window.basicThemeScripts === undefined){ window.basicThemeScripts = new ThemeScripts(); } basicThemeScripts.initGlobal(); ", POS_END) }}
Expand Down
2 changes: 1 addition & 1 deletion themes/survey/vanilla/views/layout_user_forms.twig
Expand Up @@ -201,7 +201,7 @@
</div> <!-- outer frame container -->

{# Bootstrap alert modal #}
{{ include('./subviews/bootstrap_alert_modal.twig') }}
{{ include('./subviews/messages/bootstrap_alert_modal.twig') }}

{# Basic ThemeScript options #}
{{ registerScript("BasicThemeScripts", " if(window.basicThemeScripts === undefined){ window.basicThemeScripts = new ThemeScripts(); } basicThemeScripts.initGlobal(); ", POS_END) }}
Expand Down
4 changes: 2 additions & 2 deletions themes/survey/vanilla/views/subviews/content/firstpage.twig
Expand Up @@ -24,13 +24,13 @@
{{ aSurveyInfo.EM.ScriptsAndHiddenInputs }}

{# Include the alert for no JavaScript #}
{{ include('./subviews/no_js_alert.twig') }}
{{ include('./subviews/messages/no_js_alert.twig') }}

{# Include the language changer selector #}
{{ include('./subviews/language_changer.twig') }}

{# If survey mode is "All in One", this will add the welcome/privacy messages (if activated) #}
{{ include('./subviews/welcome.twig') }}
{{ include('./subviews/messages/welcome.twig') }}

{% if(aSurveyInfo.anonymized) == "Y" %}
{{ include('./subviews/privacy/privacy.twig') }}
Expand Down
2 changes: 1 addition & 1 deletion themes/survey/vanilla/views/subviews/content/main.twig
Expand Up @@ -27,7 +27,7 @@
{{ aSurveyInfo.EM.ScriptsAndHiddenInputs }}

{# Include the alert for no JavaScript #}
{{ include('./subviews/no_js_alert.twig') }}
{{ include('./subviews/messages/no_js_alert.twig') }}

{# If survey mode is "All in One", it will add the welcome/privacy messages if needed #}
{{ include('./subviews/privacy/allinone_mode_welcome_privacy.twig') }}
Expand Down
2 changes: 1 addition & 1 deletion themes/survey/vanilla/views/subviews/content/submit.twig
Expand Up @@ -42,7 +42,7 @@

{# Assessments #}
{% if (aSurveyInfo.aAssessments.show) %}
{{ include('./subviews/assessments.twig') }}
{{ include('./subviews/messages/assessments.twig') }}
{% endif %}

{# Link to Print Answer Preview #}
Expand Down
Expand Up @@ -29,7 +29,7 @@
<div class='{{ aSurveyInfo.class.previewsubmittext }}' {{ aSurveyInfo.attr.previewsubmittext }}>
{# Assessments #}
{% if (aSurveyInfo.aAssessments.show) %}
{{ include('./subviews/assessments.twig') }}
{{ include('./subviews/messages/assessments.twig') }}
{% endif %}

<br />
Expand Down
Expand Up @@ -25,7 +25,7 @@
<div class="{{ aSurveyInfo.class.surveylistrow }} row" id="{{ aSurveyInfo.id.surveylistrow }}" {{ aSurveyInfo.attr.surveylistrow }}>

{# include the alert for no JavaScript #}
{{ include('./subviews/no_js_alert.twig') }}
{{ include('./subviews/messages/no_js_alert.twig') }}

<div id="{{ aSurveyInfo.id.surveylistrowjumbotron }}" {{ aSurveyInfo.attr.surveylistrowjumbotron }}>
{{ image('./files/logo_340.png', aSurveyInfo.name, {"class": "img-responsive center-block"}) }}
Expand Down
Expand Up @@ -20,7 +20,7 @@

{% if aSurveyInfo.format == 'A' %}
{% if not aSurveyInfo.showwelcome is defined or not aSurveyInfo.showwelcome != 'N' %}
{{ include('./subviews/welcome.twig') }}
{{ include('./subviews/messages/welcome.twig') }}
{% endif %}

{% if aSurveyInfo.anonymized == 'Y' %}
Expand Down

0 comments on commit 3f6382f

Please sign in to comment.