Skip to content

Commit

Permalink
Dev: moved head.twig to header/
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Dec 4, 2017
1 parent 59ae5b2 commit 55f2b29
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 34 deletions.
4 changes: 2 additions & 2 deletions themes/survey/vanilla/views/layout_global.twig
Expand Up @@ -71,7 +71,7 @@
<html lang="{{ aSurveyInfo.languagecode }}" dir="{{ aSurveyInfo.dir }}" class="{{ aSurveyInfo.languagecode }} dir-{{ aSurveyInfo.dir }} {{ aSurveyInfo.class.html }}" {{ aSurveyInfo.attr.html }}>

{# Headers, metadata, etc #}
{{ include('./subviews/head.twig') }}
{{ include('./subviews/header/head.twig') }}

<body class=" {{ aSurveyInfo.class.body }} font-{{ aSurveyInfo.options.font }} lang-{{aSurveyInfo.languagecode}} {{aSurveyInfo.surveyformat}} {% if( aSurveyInfo.options.brandlogo == "on") %}brand-logo{%endif%}" {{ aSurveyInfo.attr.body }} >
{% if (aSurveyInfo.options.ajaxmode == "on" and aSurveyInfo.printPdf != 1) %}
Expand Down Expand Up @@ -111,7 +111,7 @@

{# Bootstrap alert modal #}
{{ include('./subviews/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 @@ -20,7 +20,7 @@
<html lang="{{ aSurveyInfo.languagecode }}" dir="{{ aSurveyInfo.dir }}" class="{{ aSurveyInfo.class.html }} {{ aSurveyInfo.languagecode }} dir-{{ aSurveyInfo.dir }} " {{ aSurveyInfo.attr.html }}>

{# Headers, metadatas, etc #}
{{ include('./subviews/head.twig') }}
{{ include('./subviews/header/head.twig') }}

<body class="{{ aSurveyInfo.class.body }} lang-{{surveylanguage}} {{surveyformat}}" {{ aSurveyInfo.attr.body }}>

Expand Down
31 changes: 0 additions & 31 deletions themes/survey/vanilla/views/subviews/flash_message.twig

This file was deleted.

0 comments on commit 55f2b29

Please sign in to comment.