Soloist / CalendarBundle

A simple Calendar/Event CMS bundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clean all the bundle !

yohang opened this issue · comments

  • Templating do not respect any convention. Main block is body, not an exotic one
  • Extends from base.html.twig like in other bundles
  • Indent is approximative, exemple :
            {% if calendar is defined %}
            <a href="{{ path('soloist_calendar_calendar_show', {
                'year': month.getNext().begin.format('Y'),
                'month': month.getNext().begin.format('n'),
                'slug': calendar.slug
            }) }}">
            {% else %}
            <a href="{{ path('soloist_calendar_calendar_show_all', {
                'year': month.getNext().begin.format('Y'),
                'month': month.getNext().begin.format('n')
            }) }}">
            {% endif %}