{##
 # This file is part of CSBill package.
 #
 # (c) 2013-2014 Pierre du Plessis <info@customscripts.co.za>
 #
 # This source file is subject to the MIT license that is bundled
 # with this source code in the file LICENSE.
 #}

{% extends "CSBillCoreBundle:Layout:one_column_left.html.twig" %}

{% set title = "app_installation"|trans({"%app_name%" : app_name}) %}

{% block header %}
	{% include "CSBillCoreBundle:Menu:top.html.twig" with {"title" : title|trans} %}
{% endblock header %}

{% block title %}
	{{ title }}
{% endblock title %}

{% block script %}
	<script>
		$(function(){
			{{ block('script') }}
		});
	</script>
{% endblock %}

{% block sidebar %}
    <ul class="nav nav-list">
        <li class="nav-header">
            {{ "installation_progess"|trans }}
        </li>
        {% set link = true %}
        {% for index, step in installer.steps %}
            {% set class = not installer.stepComplete(index) ? 'disabled' %}
            {% if installer.currentStep.label is sameas(step.label) %}
                {% set link = false %}
                {% set class = 'active' %}
            {% endif %}
            <li class="{{ class }}">
                <a href="{{ link ? path('_installer_step', {'step' : index}) : '#' }}">{{ step.label|trans }}</a>
            </li>
        {% endfor %}
    </ul>
{% endblock sidebar %}

{##
 # This file is part of CSBill package.
 #
 # (c) 2013-2014 Pierre du Plessis <info@customscripts.co.za>
 #
 # This source file is subject to the MIT license that is bundled
 # with this source code in the file LICENSE.
 #}

{% extends "CSBillCoreBundle:Layout:one_column_left.html.twig" %}

{% set title = "app_installation"|trans({"%app_name%" : app_name}) %}

{% block header %}
	{% include "CSBillCoreBundle:Menu:top.html.twig" with {"title" : title|trans} %}
{% endblock header %}

{% block title %}
	{{ title }}
{% endblock title %}

{% block sidebar %}
    <ul class="nav nav-list">
        <li class="nav-header">
            {{ "installation_progess"|trans }}
        </li>
        {% set link = true %}
        {% for index, step in installer.steps %}
            {% set class = not installer.stepComplete(index) ? 'disabled' %}
            {% if installer.currentStep.label is sameas(step.label) %}
                {% set link = false %}
                {% set class = 'active' %}
            {% endif %}
            <li class="{{ class }}">
                <a href="{{ link ? path('_installer_step', {'step' : index}) : '#' }}">{{ step.label|trans }}</a>
            </li>
        {% endfor %}
    </ul>
{% endblock sidebar %}

Fix endless loop rendering template on installation process
Fix endless loop rendering template on installation process
