{% if trace.function %}
    at

        {{ trace.short_class }}
        {{ trace.type ~ trace.function }}

    ({{ trace.args|format_args }})

{% endif %}

{% if trace.file is defined and trace.line is defined %}
    in {{ trace.file|format_file(trace.line) }}
    {% spaceless %}

    {% endspaceless %}

        {{ trace.file|file_excerpt(trace.line) }}

{% endif %}

Fix trace to not show 'in at line' when file/line are empty.

{% if trace.function %}
    at

        {{ trace.short_class }}
        {{ trace.type ~ trace.function }}

    ({{ trace.args|format_args }})
{% endif %}

{% if trace.file is defined and trace.file and trace.line is defined and trace.line %}
    {{ trace.function ? '
' : '' }}
    in {{ trace.file|format_file(trace.line) }}
    {% spaceless %}

    {% endspaceless %}

        {{ trace.file|file_excerpt(trace.line) }}

{% endif %}


{# Page: NavSecondary > Content ... > #}

{% from '_sub/_editable_record_list.twig' import editable_record_list as list %}
{% from '_macro/_translation.twig' import trans_ct %}
{% import '_macro/_panels.twig' as panels %}

{% extends '_base/_page-nav.twig' %}

{% block page_nav 'Content/*' %}

{% block page_title __('Overview') %}

{% block page_subtitle trans_ct(context.contenttype.slug, 'name.plural', context.contenttype.name) %}

{# clear default messages, because we use them in a different spot, in this template #}
{% block messages "" %}

{% block page_main %}

            {% include '_sub/_messages.twig' %}

            {{ list(context.contenttype, context.multiplecontent, 'table-striped') }}

            {% include 'overview/_panel-actions_overview.twig' %}
            {{ panels.lastmodified(context.contenttype.slug) }}

{% endblock page_main %}

Replace trans_ct() macro with standard __()

{# Page: NavSecondary > Content ... > #}

{% from '_sub/_editable_record_list.twig' import editable_record_list as list %}
{% from '_macro/_translation.twig' import trans_ct %}
{% import '_macro/_panels.twig' as panels %}

{% extends '_base/_page-nav.twig' %}

{% block page_nav 'Content/*' %}

{% block page_title __('Overview') %}

{% block page_subtitle __('contenttypes.%%.name.plural', context.contenttype.slug, context.contenttype.name) %}

{# clear default messages, because we use them in a different spot, in this template #}
{% block messages "" %}

{% block page_main %}

            {% include '_sub/_messages.twig' %}

            {{ list(context.contenttype, context.multiplecontent, 'table-striped') }}

            {% include 'overview/_panel-actions_overview.twig' %}
            {{ panels.lastmodified(context.contenttype.slug) }}

{% endblock page_main %}


{% set langobj = grav['language'] %}

{% for key, language in langswitcher.languages %}

    {% if key == langswitcher.current %}
        {% set lang_url = page.url %}
        {% set active_class = 'active' %}
    {% else %}
        {% set lang_url = base_url_simple ~ langobj.getLanguageURLPrefix(key)~langswitcher.page_route ?: '/' %}
        {% set active_class = '' %}
    {% endif %}

{{  language.nativeName|capitalize }}

{% endfor %}

Add `external` class to avoid problems on modular pages when jquery.singlePageNav is loaded

{% set langobj = grav['language'] %}

{% for key, language in langswitcher.languages %}

    {% if key == langswitcher.current %}
        {% set lang_url = page.url %}
        {% set active_class = ' active' %}
    {% else %}
        {% set lang_url = base_url_simple ~ langobj.getLanguageURLPrefix(key)~langswitcher.page_route ?: '/' %}
        {% set active_class = '' %}
    {% endif %}

{{  language.nativeName|capitalize }}

{% endfor %}


{% extends "page.html.twig" %}

{% block stylesheets %}
    <link rel="stylesheet" href="/assets/css/styles.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">

{% endblock %}

{% block footer %}

            {{ parent() }}

Built with  by Stakx

                    Stakx

                {% for item in menu %}

                        {{ item.title }}

                {% endfor %}

{% endblock %}

Order the menu by title

{% extends "page.html.twig" %}

{% block stylesheets %}
    <link rel="stylesheet" href="/assets/css/styles.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">

{% endblock %}

{% block footer %}

            {{ parent() }}

Built with  by Stakx

                    Stakx

                {% for item in menu | order("title") %}

                        {{ item.title }}

                {% endfor %}

{% endblock %}


{% macro tab(filter, name) %}

{{ name }}

{% endmacro %}

{% from _self import tab %}

    {% for group in context.contenttype.groups %}
        {% if group == 'ungrouped' %}
            {{ tab(group, __('contenttypes.generic.group.ungrouped')) }}
        {% else %}
            {{ tab(group, __(['contenttypes', context.contenttype.slug, 'group', group], {DEFAULT: group|capitalize})) }}
        {% endif %}
    {% endfor %}

    {# Relationships and/or Taxonomy #}
    {% if context.contenttype.relations is defined and context.contenttype.taxonomy is defined %}
        {{ tab('taxonomy', __('contenttypes.generic.group.relations') ~ '/' ~ __('contenttypes.generic.group.taxonomy')) }}
    {% endif %}
    {% if context.contenttype.relations is defined and context.contenttype.taxonomy is not defined %}
        {{ tab('taxonomy', __('contenttypes.generic.group.relations')) }}
    {% endif %}
    {% if context.contenttype.relations is not defined and context.contenttype.taxonomy is defined %}
        {{ tab('taxonomy', __('contenttypes.generic.group.taxonomy')) }}
    {% endif %}

    {# Finally, a tab for Meta #}
    {{ tab('meta', __('contenttypes.generic.group.meta')) }}

Simplify relations/taxonomy tab logic using elseif

{% macro tab(filter, name) %}

{{ name }}

{% endmacro %}

{% from _self import tab %}

    {% for group in context.contenttype.groups %}
        {% if group == 'ungrouped' %}
            {{ tab(group, __('contenttypes.generic.group.ungrouped')) }}
        {% else %}
            {{ tab(group, __(['contenttypes', context.contenttype.slug, 'group', group], {DEFAULT: group|capitalize})) }}
        {% endif %}
    {% endfor %}

    {# Relationships and/or Taxonomy #}
    {% if context.contenttype.relations is defined and context.contenttype.taxonomy is defined %}
        {{ tab('taxonomy', __('contenttypes.generic.group.relations') ~ '/' ~ __('contenttypes.generic.group.taxonomy')) }}
    {% elseif context.contenttype.relations is defined %}
        {{ tab('taxonomy', __('contenttypes.generic.group.relations')) }}
    {% elseif context.contenttype.taxonomy is defined %}
        {{ tab('taxonomy', __('contenttypes.generic.group.taxonomy')) }}
    {% endif %}

    {# Finally, a tab for Meta #}
    {{ tab('meta', __('contenttypes.generic.group.meta')) }}


{{'vendor'|trans}} (Mirakl ID: {{vendor.miraklId}} / HiPay ID: {{vendor.hipayId}})

            {{'document.type'|trans}}
            {{'state'|trans}}
            {{'decline.reason'|trans}}

        {% for document in documents %}

                    {{document.label}}

                    {{document.status_label}}

                    -

        {%endfor%}

Fix refused message not displayed (KYC status)

{{'vendor'|trans}} (Mirakl ID: {{vendor.miraklId}} / HiPay ID: {{vendor.hipayId}})

            {{'document.type'|trans}}
            {{'state'|trans}}
            {{'decline.reason'|trans}}

        {% for document in documents %}

                    {{document.label}}

                    {{document.status_label}}

                    {%if document.message is defined %} {{document.message}} {%else%} - {%endif%}

        {%endfor%}


{% extends 'base.twig' %}

{% block body -%}

        {% for project in projects %}
            {{project.name}}
        {% endfor %}

        {% for card in cards %}
            {% include 'issueListCard.twig' with { 'issues': card.issues, 'title': card.title, 'options': card.options } %}
        {% endfor %}

{{ title }}

                {% for item in issues %}
                    {% include 'issue.twig' %}
                {% endfor %}

{% endblock %}

Remove twig code added by accident

{% extends 'base.twig' %}

{% block body -%}

        {% for project in projects %}
            {{project.name}}
        {% endfor %}

        {% for card in cards %}
            {% include 'issueListCard.twig' with { 'issues': card.issues, 'title': card.title, 'options': card.options } %}
        {% endfor %}

{% endblock %}


{{ form_errors(form) }}

            {{ form_errors(form) }}

                {{ form_row(form.code) }}
                {{ form_row(form.name) }}

            {{ form_row(form.description) }}
            {{ form_row(form.enabled) }}

                    {{ form_label(form.hostname) }}

http://

                        {{ form_widget(form.hostname) }}

                    {{ form_errors(form.hostname) }}

                {{ form_row(form.contactEmail) }}

                {{ form_row(form.color) }}
                {{ form_row(form.themeName) }}

            {{ form_row(form.locales) }}
            {{ form_row(form.defaultLocale) }}
            {{ form_row(form.currencies) }}
            {{ form_row(form.baseCurrency) }}
            {{ form_row(form.defaultTaxZone) }}
            {{ form_row(form.taxCalculationStrategy) }}

Adjust channel form for new functionality

{{ form_errors(form) }}

            {{ form_errors(form) }}

                {{ form_row(form.code) }}
                {{ form_row(form.name) }}

            {{ form_row(form.description) }}
            {{ form_row(form.enabled) }}

                    {{ form_label(form.hostname) }}

http://

                        {{ form_widget(form.hostname) }}

                    {{ form_errors(form.hostname) }}

                {{ form_row(form.contactEmail) }}

                {{ form_row(form.color) }}
                {{ form_row(form.themeName) }}

            {{ form_row(form.locales) }}
            {{ form_row(form.defaultLocale) }}
            {{ form_row(form.currencies) }}
            {{ form_row(form.baseCurrency) }}
            {{ form_row(form.defaultTaxZone) }}
            {{ form_row(form.taxCalculationStrategy) }}
            {{ form_row(form.skippingShippingStepAllowed) }}


{% extends "field.html.twig" %}
{#
/**
 * @file
 * Default theme implementation for a text field.
 *
 * A 'clearfix' class is added, because 'text' fields have a 'format' property
 * that allows a Text Format to be associated with the entered text, which then
 * applies filtering on output. A common use case is to align images to the left
 * or right, and without this 'clearfix' class, such aligned images may be
 * rendered outside of the 'text' field formatter's boundaries, and hence
 * overlap with other fields. By setting the 'clearfix' class on all 'text'
 * fields, we prevent that.
 *
 * @see https://www.drupal.org/node/2358529
 *
 * A 'text-formatted' class is added to assist with default styling of base
 * elements such as paragraphs and lists that may not have classes assigned to
 * them. This allows user entered content to have default styling without
 * interfering with the styles of other UI components such as system generated
 * lists or other dynamic content.
 *
 * @see https://www.drupal.org/node/2539860
 *
 * @ingroup themeable
 */
#}
{% set attributes = attributes.addClass('text-formatted') %}


{% extends 'layout.html.twig' %}

{% block content %}

Fernando Ripoll Lafuente

Soy un ingeniero del software

{% endblock %}

Add first version of the about me

{% extends 'layout.html.twig' %}

{% block content %}

Fernando Ripoll Lafuente

Soy un ingeniero del software con gusto por hacer las cosas bien hechas. Trabajo con diferentes tecnologías
    que me ayudan a realizar mi trabajo: PHP, Nodejs, golang, ruby, kubernetes y HTML5. He trabajado con frontend developer
    disfrutando creando interfaces interactivas gracias al boom de frameworks javascript. También he lidiado con backend,
    creando alguna API rest y construyendo micro servicios para aislar y dividir al lógica de negocio en diferentes bundle
    contexts. Me gusta mucho aprender sobre arquitectura de aplicaciones y patrones software (DDD fan). Además Además
    últimamente he mejorado mis habilidades con devops ya que toda nuestra infraestructura estaba sobre kubernetes (docker)
    y he colaborado en la construcción de toda ella.

{% endblock %}


<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>{{ config('streams::distribution.name') }}</title>
        <description>{{ config('streams::distribution.description') }}</description>
        <link>{{ url('/') }}</link>
        <atom:link href="{{ url_current() }}" rel="self" type="application/rss+xml"/>
        {% for post in posts %}
            <item>
                <title>{{ post.title }}</title>
                <description>{{ post.summary }}</description>
                <pubDate>{{ post.publish_at.rfc }}</pubDate>
                <link>{{ url(post.path) }}</link>
                <guid isPermaLink="true">{{ url(post.path) }}</guid>
            </item>
        {% endfor %}
    </channel>
</rss>

Use correct references to site config

<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>{{ config('app.name') }}</title>
        <description>{{ config('app.description') }}</description>
        <link>{{ url('/') }}</link>
        <atom:link href="{{ url_current() }}" rel="self" type="application/rss+xml"/>
        {% for post in posts %}
            <item>
                <title>{{ post.title }}</title>
                <description>{{ post.summary }}</description>
                <pubDate>{{ post.publish_at.rfc }}</pubDate>
                <link>{{ url(post.path) }}</link>
                <guid isPermaLink="true">{{ url(post.path) }}</guid>
            </item>
        {% endfor %}
    </channel>
</rss>


{% extends '_layouts/base.html.twig' %}

{% set bodyClass = 'fixed sidebar-mini' %}

{% block body %}

        {% include '_layouts/_header.html.twig' %}

                {{ knp_menu_render('main', {template:'_menu/sidebar-menu.html.twig'}) }}

            {% if contentHeader|default(false) %}

{{ contentHeader|raw }}

                    {#

 Home

Dashboard

                    #}

            {% endif %}

                {% block content %}{% endblock %}

        {% include '_layouts/_footer.html.twig' %}
        {% include '_layouts/_control-sidebar.html.twig' %}

{% endblock %}

Remove |raw from content header

{% extends '_layouts/base.html.twig' %}

{% set bodyClass = 'fixed sidebar-mini' %}

{% block body %}

        {% include '_layouts/_header.html.twig' %}

                {{ knp_menu_render('main', {template:'_menu/sidebar-menu.html.twig'}) }}

            {% if contentHeader|default(false) %}

{{ contentHeader }}

                    {#

 Home

Dashboard

                    #}

            {% endif %}

                {% block content %}{% endblock %}

        {% include '_layouts/_footer.html.twig' %}
        {% include '_layouts/_control-sidebar.html.twig' %}

{% endblock %}


        {% for i in 1..result.pagination.totalPages %}
            {% if i == page %}

{{ i }}
            {% else %}

                    {{ i }}
            {% endif %}
        {% endfor %}

Make pagination able to handle many pages

{% set start = page > 5 ? page - 5 : 1 %}
{% set end = (start+10) > result.pagination.totalPages ? result.pagination.totalPages : start+10 %}

        {% if (page) > 1 %}

                ‹
        {% endif %}

        {% if start > 1 %}

                {{ 1 }}

...
        {% endif %}

        {% for i in start..end %}
            {% if i == page %}

{{ i }}
            {% else %}

                    {{ i }}
            {% endif %}
        {% endfor %}

        {% if end < result.pagination.totalPages %}

...

                    {{ result.pagination.totalPages }}

        {% endif %}

        {% if (page) < result.pagination.totalPages %}

                ›
        {% endif %}


<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>{{ selection.title|default }}</title>
        <link>{{ url('integrated_website_search_selection_rss', { 'id': selection.id }) }}</link>

        {% spaceless %}
        {% for document in documents %}
            {% set content = document.content|default %}
            {% if content is iterable %}
                {% set content = content|first %}
            {% endif %}

            <item>
                <title>{{ document.title|default }}</title>
                <pubDate>{{ document.pub_created|date('D, d M Y H:i:s O') }}</pubDate>
                <link>{{ app.request.schemeAndHttpHost }}{{ document.url|default }}</link>
                <description><![CDATA[ {{ content|raw }}]]></description>
                {% if document.cover|default %}
                    <enclosure url="{{ app.request.schemeAndHttpHost }}{{ integrated_image(document.cover).zoomCrop(150, 150, '#ffffff', 'center', 'top') }}" />
                {% endif %}
            </item>

        {% endfor %}
        {% endspaceless %}
    </channel>
</rss>

Use integrated_url URL function in RSS for correct url

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>{{ selection.title|default }}</title>
        <link>{{ url('integrated_website_search_selection_rss', { 'id': selection.id }) }}</link>

        {% spaceless %}
        {% for document in documents %}
            {% set content = document.content|default %}
            {% if content is iterable %}
                {% set content = content|first %}
            {% endif %}

            <item>
                <title>{{ document.title|default }}</title>
                <pubDate>{{ document.pub_created|date('D, d M Y H:i:s O') }}</pubDate>
                <link>{{ app.request.schemeAndHttpHost }}{{ integrated_url(document) }}</link>
                <description><![CDATA[ {{ content|raw }}]]></description>
                {% if document.cover|default %}
                    <enclosure url="{{ app.request.schemeAndHttpHost }}{{ integrated_image(document.cover).zoomCrop(150, 150, '#ffffff', 'center', 'top') }}" />
                {% endif %}
            </item>

        {% endfor %}
        {% endspaceless %}
    </channel>
</rss>


{% extends 'base.html.twig' %}

{% block stylesheets %}
    {% stylesheets '@bootstrap_css' filter='cssrewrite' %}
        <link rel="stylesheet" href="{{ asset_url }}" />
    {% endstylesheets %}
{% endblock %}

{% block javascripts %}
    {% javascripts
        '@jquery_js'
        '@underscore_js'
        '@backbone_js' %}
        <script src="{{ asset_url }}"></script>
    {% endjavascripts %}
{% endblock %}

Implement basic deck list loading.

{% extends 'base.html.twig' %}

{% block stylesheets %}
    {% stylesheets '@bootstrap_css' filter='cssrewrite' %}
        <link rel="stylesheet" href="{{ asset_url }}" />
    {% endstylesheets %}
{% endblock %}

{% block javascripts %}
    {% javascripts
        '@jquery_js'
        '@underscore_js'
        '@backbone_js' %}

    {% endjavascripts %}

{% endblock %}

{% block body %}

{% endblock %}


{% extends '/Layout/Templates/base.html.twig' %}

{% block content %}

            {{ 'lbl.ClearCache'|trans|ucfirst }}

{{ 'msg.ClearCache'|trans }}

          {{ 'lbl.ClearCache'|trans|ucfirst }}

            {{ 'msg.ClearingCache'|trans }}

{% endblock %}

Put the help text in a help block


{% if breadcrumbs|length %}

    {% for bc in breadcrumbs %}
      {% if loop.last or not bc.url %}

{{ bc.label|trans }}

      {% else %}

{{ bc.label|trans }}

      {% endif %}
    {% endfor %}

{% endif %}

Add RDFa for the schema.org Breadcrumbs vocabulary.

{% if breadcrumbs|length %}

    {% for bc in breadcrumbs %}
      {% if loop.last or not bc.url %}

{{ bc.label|trans }}

      {% else %}

            {{ bc.label|trans }}

        <meta property="position" content="{{ loop.index }}">
      {% endif %}
    {% endfor %}

{% endif %}


{{ 'sylius.ui.inventory'|trans }}

        {% if product.simple %}
            {{ form_row(form.variant.onHand) }}
            {{ form_row(form.variant.tracked) }}
            {{ form_row(form.variant.version) }}
        {% endif %}

Fix UI in Product's inventory tab


<form action="{{ path('cunningsoft_chat_post') }}" method="post">
    <label for="chatMessage">Message</label>
    <input type="text" name="message" id="chatMessage" />
    <input id="submitButton" type="submit" value="submit" />
</form>
{% render(controller('CunningsoftChatBundle:Chat:list')) %}
<script type="text/javascript">
$("#submitButton").submit(function() {
    postMessage();
    updateChat();
    return false;
});
function postMessage()
{
    $.post('{{ path('cunningsoft_chat_post') }}', { 'message': $("#chatMessage").val() });
    $("#chatMessage").val('');
}
function updateChat()
{
    if (this.timer)
        clearTimeout(this.timer);

    $.post('{{ path('cunningsoft_chat_list') }}', function(data) {
        $('#chat').html(data);
    });
    this.timer = setTimeout('updateChat()', {{ updateInterval }});
}
updateChat();
</script>

Switch to using the form id instead of the button id; This allows one to hit enter to submit a chat message with AJAX as well

<form id="chatForm" action="{{ path('cunningsoft_chat_post') }}" method="post">
    <label for="chatMessage">Message</label>
    <input type="text" name="message" id="chatMessage" />
    <input type="submit" value="submit" />
</form>
{% render(controller('CunningsoftChatBundle:Chat:list')) %}
<script type="text/javascript">
$("#chatForm").submit(function() {
    postMessage();
    updateChat();
    return false;
});
function postMessage()
{
    $.post('{{ path('cunningsoft_chat_post') }}', { 'message': $("#chatMessage").val() });
    $("#chatMessage").val('');
}
function updateChat()
{
    if (this.timer)
        clearTimeout(this.timer);

    $.post('{{ path('cunningsoft_chat_list') }}', function(data) {
        $('#chat').html(data);
    });
    this.timer = setTimeout('updateChat()', {{ updateInterval }});
}
updateChat();
</script>


{% extends "::base.html.twig" %}

{% block body %}

{{ list.stream.title|trim(".") }}

{{ item.title }}

By {{ item.author }}  |  {{ item.published|date }}.

		{{ item.content|raw }}

{% endblock %}

Change item metadata style to be more compact

{% extends "::base.html.twig" %}

{% block body %}

{{ item.title }}

{{ list.stream.title|trim(".") }}  |  By {{ item.author }}  |  {{ item.published|date }}.

		{{ item.content|raw }}

{% endblock %}


            {{ meetup.name }}

{{ meetup.scheduledFor|date() }}

{{ meetup.description }}

Read more

Remove description from list view

            {{ meetup.name }}

{{ meetup.scheduledFor|date() }}

Read more


{% macro loop(page) %}
    {% for p in page.children %}
        {% if p.visible and p.published|default(true)%}
            {% set current_page = (p.active or p.activeChild) ? 'active' : '' %}

                    {% if p.header.icon %}{% endif %}
                    {{ p.menu }}

                {% if p.children.count > 0 %}

                        {{ _self.loop(p) }}

                {% endif %}

        {% endif %}
    {% endfor %}
{% endmacro %}

    {% if config.themes.antimatter.dropdown.enabled %}
        {{ _self.loop(pages) }}
    {% else %}
        {% for page in pages.children %}
            {% if page.visible and page.published|default(true) %}
                {% set current_page = (page.active or page.activeChild) ? 'active' : '' %}

                        {% if page.header.icon %}{% endif %}
                        {{ page.menu }}

            {% endif %}
        {% endfor %}
    {% endif %}
    {% for mitem in site.menu %}

                {% if mitem.icon %}{% endif %}
                {{ mitem.text }}

    {% endfor %}

Revert "changes required to support forthcoming published state"

{% macro loop(page) %}
    {% for p in page.children %}
        {% if p.visible %}
            {% set current_page = (p.active or p.activeChild) ? 'active' : '' %}

                    {% if p.header.icon %}{% endif %}
                    {{ p.menu }}

                {% if p.children.count > 0 %}

                        {{ _self.loop(p) }}

                {% endif %}

        {% endif %}
    {% endfor %}
{% endmacro %}

    {% if config.themes.antimatter.dropdown.enabled %}
        {{ _self.loop(pages) }}
    {% else %}
        {% for page in pages.children %}
            {% if page.visible %}
                {% set current_page = (page.active or page.activeChild) ? 'active' : '' %}

                        {% if page.header.icon %}{% endif %}
                        {{ page.menu }}

            {% endif %}
        {% endfor %}
    {% endif %}
    {% for mitem in site.menu %}

                {% if mitem.icon %}{% endif %}
                {{ mitem.text }}

    {% endfor %}


{% block title %}

    {{ echo_block("page_title") }}
        <head>
            <h1>{{ title }}</h1>
        </head>
    {{ echo_endblock() }}
{% endblock %}

Change the <title> of the browser with the title of admin

{% block title %}
    {{ echo_block("page_title") }}
        <head>
            <h1>{{ title }}</h1>
        </head>
    {{ echo_endblock() }}
    {{ echo_block("title") }}
        {{ echo_twig('parent()') }} - {{ title }}
    {{ echo_endblock() }}
{% endblock %}


 \

 \

 \
             \
                 \
             \

 \

{{ image.caption.title|escape }}
Credit: {{ image.caption.credit|escape }}
 \

 \

Make sure we trim the output

 \

 \

 \
             \
                 \
             \

 \

{{ image.caption.title|trim|escape }}
Credit: {{ image.caption.credit|trim|escape }}
 \

 \


{% set channel_is_defined = (logs|first).channel is defined %}

            Level
            {% if channel_is_defined %}Channel	{% endif %}
            Message

    {% for log in logs %}

= 400 ? 'error' : log.priority >= 300 ? 'warning' : 'normal' }}">

                {{ log.priorityName }}
                {{ log.timestamp|date('H:i:s') }}

            {% if channel_is_defined %}

                    {{ log.channel }}

            {% endif %}
            {{ log.message }}

    {% endfor %}

Fix log message formatting in exception views

{% set channel_is_defined = (logs|first).channel is defined %}

            Level
            {% if channel_is_defined %}Channel	{% endif %}
            Message

    {% for log in logs %}

= 400 ? 'error' : log.priority >= 300 ? 'warning' : 'normal' }}">

                {{ log.priorityName }}
                {{ log.timestamp|date('H:i:s') }}

            {% if channel_is_defined %}

                    {{ log.channel }}

            {% endif %}
            {{ log.message|format_log_message(log.context) }}

    {% endfor %}


---
layout: default
title: Home
generator: pagination
pagination:
max_per_page: 3
use:
- posts
---

Recent Posts

    {% for post in page.pagination.items %}

            {{ post.title }}

    {% endfor %}


{% block asf_search_field_widget %}
{% spaceless %}
    {{ block('choice_widget') }}

{% endspaceless %}
{% endblock %}

{% block search_product_widget %}
{% spaceless %}
	{{ block('asf_search_field_widget') }}
{% endspaceless %}
{% endblock %}

{% block search_category_widget %}
{% spaceless %}
	{{ block('asf_search_field_widget') }}
{% endspaceless %}
{% endblock %}

{% block search_brand_widget %}
{% spaceless %}
	{{ block('asf_search_field_widget') }}
{% endspaceless %}
{% endblock %}


{##
 # @version     0.1.0 27-Mar-16
 # @copyright   Copyright (c) 2016 by Andy Liebke. All rights reserved. (http://andysmiles4games.com)
 #}

{% extends 'layout/base.html.twig' %}

{% block inner_body %}

Credits

            This blog system is powered by those following third party libraries/frameworks:

                    Symfony v2.8.3 (https://symfony.com/)

                    GLYPHICONS (http://glyphicons.com/)

                    Bootstrap v3.3.6 (http://getbootstrap.com/)

            Back

{% endblock %}

Change credits page template in terms of design

{##
 # @version     0.1.1 28-Mar-16
 # @copyright   Copyright (c) 2016 by Andy Liebke. All rights reserved. (http://andysmiles4games.com)
 #}

{% extends 'layout/base.html.twig' %}

{% block inner_body %}

Credits

            This blog system is powered by those following third party libraries/frameworks:

                    Symfony v2.8.3 (https://symfony.com/)

                    GLYPHICONS (http://glyphicons.com/)

                    Bootstrap v3.3.6 (http://getbootstrap.com/)

            Back

{% endblock %}


{# This file is generated by the Spoon2Twig Converter #}

{% extends '/Layout/Templates/base.html.twig' %}

{% block actionbar %}

{% endblock %}

{% block content %}
  {% form settings %}

              {{ 'lbl.MetaNavigation'|trans|capitalize }}

{{ 'msg.HelpMetaNavigation'|trans }}

                  {% form_field meta_navigation %} {{ 'msg.MetaNavigation'|trans|capitalize }}

            <button id="save" type="submit" name="save" class="btn btn-success">
              {{ 'lbl.Save'|trans|capitalize }}
            </button>

  {% endform %}
{% endblock %}

Fix help block under checkbox

{# This file is generated by the Spoon2Twig Converter #}

{% extends '/Layout/Templates/base.html.twig' %}

{% block actionbar %}

{% endblock %}

{% block content %}
  {% form settings %}

              {{ 'lbl.MetaNavigation'|trans|capitalize }}

                  {% form_field meta_navigation %} {{ 'msg.MetaNavigation'|trans|capitalize }}

{{ 'msg.HelpMetaNavigation'|trans }}

            <button id="save" type="submit" name="save" class="btn btn-success">
              {{ 'lbl.Save'|trans|capitalize }}
            </button>

  {% endform %}
{% endblock %}


{% autoescape false %}
    /**
     * {{ action.description }}
     *
     * @Route("{{ action.route.path }}", name="{{ action.route.name }}")
     * @Method({"{{ action.method }}"})
     */
    public function {{ action.name }}(Request $request, {% for parameter in action.parameters %}${{ parameter }}{% if loop.last == false %}, {% endif %}{% endfor %})
    {
        /* You can provide a _code query parameter to get whatever response code you want */
{% for response in action.responses %}
        if ({{ response.code }} == $this->get('request')->query->get('_code', null)) {
{% include 'response.php.twig' with { 'response' : response } %}
        }
{% endfor %}
        /* If your api doesn't handle the requested response code, the first response available is returned */
{% include 'response.php.twig' with { 'response' : action.responses[0] } %}
    }

{% endautoescape %}

Remove unexpected comma when no parameters in action.

{% autoescape false %}
    /**
     * {{ action.description }}
     *
     * @Route("{{ action.route.path }}", name="{{ action.route.name }}")
     * @Method({"{{ action.method }}"})
     */
    public function {{ action.name }}(Request $request{% for parameter in action.parameters %}, ${{ parameter }}{% endfor %})
    {
        /* You can provide a _code query parameter to get whatever response code you want */
{% for response in action.responses %}
        if ({{ response.code }} == $this->get('request')->query->get('_code', null)) {
{% include 'response.php.twig' with { 'response' : response } %}
        }
{% endfor %}
        /* If your api doesn't handle the requested response code, the first response available is returned */
{% include 'response.php.twig' with { 'response' : action.responses[0] } %}
    }

{% endautoescape %}


{% extends 'UMRAMemberBundle::nav.html.twig' %}

{% block modulecontent -%}

Households

                Last Name
                Fist Name
                Postal Name
                ID
                Actions

        {% for entity in entities %}

                {{ entity.lastname }}
                {{ entity.firstname }}
                {{ entity.postalname }}
                {{ entity.id }}

                        View

                        Edit

        {% endfor %}

         Add

{% endblock %}

Fix typo in Household index view

{% extends 'UMRAMemberBundle::nav.html.twig' %}

{% block modulecontent -%}

Households

                Last Name
                First Name
                Postal Name
                ID
                Actions

        {% for entity in entities %}

                {{ entity.lastname }}
                {{ entity.firstname }}
                {{ entity.postalname }}
                {{ entity.id }}

                        View

                        Edit

        {% endfor %}

         Add

{% endblock %}


        <title>{{ entry.title | raw }}</title>

{{ entry.title | raw }}

            {{ entry.content | raw }}

Add original link in public view of the article

        <title>{{ entry.title | raw }}</title>

{{ entry.title | raw }}

            {{ 'entry.view.left_menu.view_original_article'|trans }}: {{ entry.domainName|removeWww }}

            {{ entry.content | raw }}


{%- macro input(field) -%}
    <input type="{{ field.vars.block_prefixes[1] }}" name="{{ field.vars.name }}" {% if field.vars.value is not empty %}value="{{ field.vars.value }}" {% endif %}/>
{%- endmacro -%}

{%- macro form(form) -%}
    {%- for field in form -%}
        {{ _self.input(field) }}
    {%- endfor -%}
{%- endmacro -%}

Fix support for Twig 2.*

{%- macro input(field) -%}
    <input type="{{ field.vars.block_prefixes[1] }}" name="{{ field.vars.name }}" {% if field.vars.value is not empty %}value="{{ field.vars.value }}" {% endif %}/>
{%- endmacro -%}

{%- macro form(form) -%}
    {% import _self as self %}
    {%- for field in form -%}
        {{ self.input(field) }}
    {%- endfor -%}
{%- endmacro -%}


        A community for lazy dungeon masters

        {{ totalNumberOfResults }} {{ totalNumberOfResults == 1 ? 'adventure' : 'adventures' }} found

    <input type="text" class="elastic-search" name="q" value="{{ q }}" placeholder="SEARCH FOR"/>

        Clear all Filters

    <input type="button" id="search-submit" class="btn btn-primary" value="SEARCH" />

Remove "clear all filters" button

        A community for lazy dungeon masters

        {{ totalNumberOfResults }} {{ totalNumberOfResults == 1 ? 'adventure' : 'adventures' }} found

    <input type="text" class="elastic-search" name="q" value="{{ q }}" placeholder="SEARCH FOR"/>
    <input type="button" id="search-submit" class="btn btn-primary" value="SEARCH" />


{% apply spaceless %}

    {{ form.openTag }}

            {% set form.fields.searchTerm.class = 'SearchForm-input' %}
            {% set form.fields.searchTerm.id = '' %}
            {% set form.fields.searchTerm.placeholder = 'Search...' %}
            {{ form.fields.searchTerm.tag }}

            <button class="SearchForm-btn" type="submit"></button>

    {{ form.closeTag }}

{% endapply %}

Remove line in header search template

{% apply spaceless %}

    {{ form.openTag }}

            {% set form.fields.searchTerm.class = 'SearchForm-input' %}
            {% set form.fields.searchTerm.placeholder = 'Search...' %}
            {{ form.fields.searchTerm.tag }}

            <button class="SearchForm-btn" type="submit"></button>

    {{ form.closeTag }}

{% endapply %}


{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}

{% block toolbar %}
    {% set icon %}
        {# Content displayed as a panel in the toolbar #}
        {{ include('@FlexModelBundle/Resources/svg/icon.svg') }}
    {% endset %}

    {% set text %}
        {# Content displayed when hovering the mouse over the toolbar panel #}

            Loaded objects
            {{ collector.objects|length }}

    {% endset %}

    {# the 'link' value set to 'false' means that this panel doesn't
       show a section in the web profiler #}
    {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: false }) }}
{% endblock %}

{% block menu %}
    {# Left-hand menu in the full-screen profiler. #}

        {{ include('@FlexModelBundle/Resources/svg/icon.svg') }}
        FlexModel

{% endblock %}

{% block panel %}

FlexModel

Loaded objects

            Name
            Fields

        {% for object in collector.objects %}

            {{ object.objectName }}
            {{ object.fieldNames|length }}

        {% endfor %}

{% endblock %}

Add link to profiler toolbar

{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}

{% block toolbar %}
    {% set icon %}
        {# Content displayed as a panel in the toolbar #}
        {{ include('@FlexModelBundle/Resources/svg/icon.svg') }}
    {% endset %}

    {% set text %}
        {# Content displayed when hovering the mouse over the toolbar panel #}

            Loaded objects
            {{ collector.objects|length }}

    {% endset %}

    {# the 'link' value set to 'false' means that this panel doesn't
       show a section in the web profiler #}
    {{ include('@WebProfiler/Profiler/toolbar_item.html.twig') }}
{% endblock %}

{% block menu %}
    {# Left-hand menu in the full-screen profiler. #}

        {{ include('@FlexModelBundle/Resources/svg/icon.svg') }}
        FlexModel

{% endblock %}

{% block panel %}

FlexModel

Loaded objects

            Name
            Fields

        {% for object in collector.objects %}

            {{ object.objectName }}
            {{ object.fieldNames|length }}

        {% endfor %}

{% endblock %}


server {
    listen      @project.port@;
    listen      [::]:@project.port@ ipv6only=on;
    root        @project.dir@/site;

Fix error with nginx ipv6 options

server {
    listen      @project.port@;
    listen      [::]:@project.port@;
    root        @project.dir@/site;


{% if channels|length > 1 %}

{% set selected = channels|first %}
{% set code = app.request.query.get('channel') %}

{% for channel in channels %}
    {% if channel.code is sameas(code) %}
        {% set selected = channel %}
    {% endif %}
{% endfor %}

        {% include '@SyliusAdmin/Common/_channel.html.twig' with {'channel': selected} %}

            <input type="text" placeholder="{{ 'sylius.ui.search'|trans }}...">

            {% for channel in channels %}

                    {% include '@SyliusAdmin/Common/_channel.html.twig' %}

            {% endfor %}

{% endif %}

Use "same as" instead of deprecated "sameas" in Twig

{% if channels|length > 1 %}

{% set selected = channels|first %}
{% set code = app.request.query.get('channel') %}

{% for channel in channels %}
    {% if channel.code is same as(code) %}
        {% set selected = channel %}
    {% endif %}
{% endfor %}

        {% include '@SyliusAdmin/Common/_channel.html.twig' with {'channel': selected} %}

            <input type="text" placeholder="{{ 'sylius.ui.search'|trans }}...">

            {% for channel in channels %}

                    {% include '@SyliusAdmin/Common/_channel.html.twig' %}

            {% endfor %}

{% endif %}


{% extends 'AppBundle:Components/Page:page-report.html.twig' %}
{% set translationDomain = "report-overview" %}
{% trans_default_domain translationDomain %}

{% if constant('AppBundle\\Entity\\Report::PROPERTY_AND_AFFAIRS') != report.courtOrderType %}
    {% set reportType = "propertyAndAffairs" %}
{% else %}
    {% set reportType = "healthAndWelfare" %}
{% endif %}

{% block pageTitle %}{{ 'page.htmlTitle' | trans }} {% endblock %}
{% block contentClass %}{{ parent() }} report-overview js-report-overview{% endblock %}

 {% block pageNavigation %}
     {% include 'AppBundle:Report/Helper:_report-nav.html.twig' with { 'report': report, tab: 'tab-overview'} %}
 {% endblock %}

{% block pageBody %}

    {% set report_isDue = false %}

    {% if report_isDue %}

        {% include 'AppBundle:Report/Overview:_report-overview-due.html.twig' with {
        'translationDomain': translationDomain,
        'reportType': reportType
        } %}

    {% else %}

        {% include 'AppBundle:Report/Overview:_report-overview.html.twig' with {
        'translationDomain': translationDomain,
        'reportType': reportType
        } %}

    {% endif %}

{% endblock %}

Switch HW and PA Overview files.

{% extends 'AppBundle:Components/Page:page-report.html.twig' %}
{% set translationDomain = "report-overview" %}
{% trans_default_domain translationDomain %}

{% if constant('AppBundle\\Entity\\Report::PROPERTY_AND_AFFAIRS') == report.courtOrderType %}
    {% set reportType = "propertyAndAffairs" %}
{% else %}
    {% set reportType = "healthAndWelfare" %}
{% endif %}

{% block pageTitle %}{{ 'page.htmlTitle' | trans }} {% endblock %}
{% block contentClass %}{{ parent() }} report-overview js-report-overview{% endblock %}

 {% block pageNavigation %}
     {% include 'AppBundle:Report/Helper:_report-nav.html.twig' with { 'report': report, tab: 'tab-overview'} %}
 {% endblock %}

{% block pageBody %}

    {% set report_isDue = false %}

    {% if report_isDue %}

        {% include 'AppBundle:Report/Overview:_report-overview-due.html.twig' with {
        'translationDomain': translationDomain,
        'reportType': reportType
        } %}

    {% else %}

        {% include 'AppBundle:Report/Overview:_report-overview.html.twig' with {
        'translationDomain': translationDomain,
        'reportType': reportType
        } %}

    {% endif %}

{% endblock %}


{% if game %}

Game of the day

{% endif %}

Fix : Add lang on game of day template


<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <title>GenjGoogleDriveBundle:Page:slideshow</title>
    <link rel="stylesheet" type="text/css" href="/css/genj_google_drive_slideshow.css" />
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

    <script type="text/javascript">
        var fpslideshowvar = {
            baseurl: '/',
            images:  [{{ images|raw }}],
            desc:    []
        }
    </script>

    <script type="text/javascript" src="/js/genj_google_drive_slideshow.js">

        /***********************************************
         * Full Screen Image Slideshow (w/ auto read images from directory)- by JavaScript Kit (www.javascriptkit.com)
         * This notice must stay intact for usage
         * Visit JavaScript Kit at http://www.javascriptkit.com/ for full source code
         ***********************************************/

    </script>
</head>

<body>
</body>

</html>

Change CSS/JS path in view

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <title>GenjGoogleDriveBundle:Page:slideshow</title>
    <link rel="stylesheet" type="text/css" href="/css/screen.css" />
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

    <script type="text/javascript">
        var fpslideshowvar = {
            baseurl: '/',
            images:  [{{ images|raw }}],
            desc:    []
        }
    </script>

    <script type="text/javascript" src="/js/slideshow.js">

        /***********************************************
         * Full Screen Image Slideshow (w/ auto read images from directory)- by JavaScript Kit (www.javascriptkit.com)
         * This notice must stay intact for usage
         * Visit JavaScript Kit at http://www.javascriptkit.com/ for full source code
         ***********************************************/

    </script>
</head>

<body>
</body>

</html>


{% extends 'AppBundle::layout.html.twig' %}

{% block content %}

{{ "Add a Note"|trans }}

        {{ form_start (form) }}
            {{ form_label(form.title) }}
            {{ form_widget(form.title) }}
            {{ form_label(form.content) }}
            {{ form_widget(form.content, {"attr": { "data-provide":"markdown"}})}}
            {{ form_label(form.notebook) }}
            {{ form_widget(form.notebook) }}
            <button type="submit" name="submit" id="submit" class="btn btn-success" >Save</button>
        {{ form_end(form) }}

{% endblock %}

Increase rows number for Note textarea

{% extends 'AppBundle::layout.html.twig' %}

{% block content %}

{{ "Add a Note"|trans }}

        {{ form_start (form) }}
            {{ form_label(form.title) }}
            {{ form_widget(form.title) }}
            {{ form_label(form.content) }}
            {{ form_widget(form.content, {"attr": { "data-provide":"markdown", "rows": "15"}})}}
            {{ form_label(form.notebook) }}
            {{ form_widget(form.notebook) }}
            <button type="submit" name="submit" id="submit" class="btn btn-success" >Save</button>
        {{ form_end(form) }}

{% endblock %}


{% for article in postlist %}
    <div class="col s12 m6 l4" >
        {% include 'common/cards/article.html.twig' with {'article':article } only %}
    </div>
{% endfor %}

Fix (Blog): Text files should end with a newline character


{% extends 'SonataAdminBundle::empty_layout.html.twig' %}

{% block sonata_page_content %}

Σφάλμα

        O υπάρχων λογαριασμός δεν έχει δικαίωμα πρόσβασης στην εφαρμογή "Μητρώο Υποστηρικτικών δομών - Μη Σχολικών Μονάδων" (ή υπάρχει τεχνικό πρόβλημα που δεν επιτρέπει την πιστοποίηση του).

        Η πρόσβαση επιτρέπεται μόνο με τον επίσημο λογαριασμό μη σχολικής μονάδας.

        Αποσύνδεση

{% endblock %}

Add user guide in error

{% extends 'SonataAdminBundle::empty_layout.html.twig' %}

{% block sonata_page_content %}

Σφάλμα

        O υπάρχων λογαριασμός δεν έχει δικαίωμα πρόσβασης στην εφαρμογή "Μητρώο Υποστηρικτικών δομών - Μη Σχολικών Μονάδων" (ή υπάρχει τεχνικό πρόβλημα που δεν επιτρέπει την πιστοποίηση του).

        Η πρόσβαση επιτρέπεται μόνο με τον επίσημο λογαριασμό μη σχολικής μονάδας.

        Για περισσότερες πληροφορίες, δείτε το Εγχειρίδιο Χρήσηςεδώ.

        Αποσύνδεση

{% endblock %}


{% extends 'base.html.twig' %}

{% block body %}

Welcome to Student Check

Page d'accueil

{% endblock %}

Update index twig - Add link to documentation

{% extends 'base.html.twig' %}

{% block body %}

Welcome to Student Check

Page d'accueil

Voir la documentation

{% endblock %}


{% extends 'SonataAdminBundle::standard_layout.html.twig' %}

{% block stylesheets %}
{{parent()}}
{% if form is defined %}{{ form_stylesheet(form) }}{% endif %}
{% endblock %}

{% block javascripts %}
{{parent()}}
{% if form is defined %}{{ form_javascript(form) }}{% endif %}
{% endblock %}

{% block logo %}

        {##}
        {{ admin_pool.title }}

{% endblock %}

{#{% block sonata_top_nav_menu %}
Υποσύστημα Διαχείρισης Μονάδων ΠΣΔ
{% endblock %}#}

{% block footer %}

Υποσύστημα Διαχείρησης Άλλων Μονάδων ΠΣΔ

{% endblock %}

Remove sonata and show sch unit subsystem instead


<form class="form-horizontal">

	Test:

	  {% include "atoms-text-field" %}
		help text here

	Test:

	  {% include "atoms-text-area" %}
		help text here

	Checkboxes:

	  {% include "atoms-checkbox" %}
	  {% include "atoms-checkbox" %}
	  {% include "atoms-checkbox" %}
	  {% include "atoms-checkbox" %}
		help text goes here

	Radio:

	  {% include "atoms-radio" %}
	  {% include "atoms-radio" %}
	  {% include "atoms-radio" %}
		help text goes here

	Select:

	  {% include "atoms-select" %}
		help text goes here

	DoB:

	  {% include "atoms-dob-field" %}
		help text goes here

</form>


{% extends 'partials/_master.twig' %}

{% block main %}

    <h1>{{ record.title }}</h1>

    {# Remove this block if you don't need it anymore. #}
    {{ include('partials/_fresh_install.twig') }}

    {{ record.teaser }}

    {{ popup(record.image, 1200, 500) }}

    {{ record.body }}

    {{ include('partials/_recordfooter.twig', { 'record': record }) }}

{% endblock main %}

Check if record is defined for base-2016 homepage.

{% extends 'partials/_master.twig' %}

{% block main %}

    {% if record is defined %}

        <h1>{{ record.title }}</h1>

        {# Remove this block if you don't need it anymore. #}
        {{ include('partials/_fresh_install.twig') }}

        {{ record.teaser }}

        {{ popup(record.image, 1200, 500) }}

        {{ record.body }}

        {{ include('partials/_recordfooter.twig', { 'record': record }) }}

    {% endif %}

{% endblock main %}


{% extends 'base.html.twig' %}

{% block nav_top %}

Admin panel

{% endblock %}

{% block body %}

                    Tournaments

                    Teams

                    Matches

                    API mappings

                    Data Updates

{% endblock %}

Add scores_update link to admin/index

{% extends 'base.html.twig' %}

{% block nav_top %}

Admin panel

{% endblock %}

{% block body %}

                    Tournaments

                    Teams

                    Matches

                    API mappings

                    Data Updates

                    Scores/Standings Update

{% endblock %}


{% if cekurte_is_granted('DELETE') %}
    {% block search -%}
        {% include 'CekurteGeneratorBundle:Action:delete-modal.html.twig' %}
    {% endblock %}
    {% block container_open %}{% endblock %}
        {% block form_open %}<form class="form-delete-inline{% if (show_label is defined) and (show_label == true) %} {{ 'form-delete' | trans }}{% endif %}" action="{{ path(route, {(identifierKey) : identifierValue}) }}" method="post">{% endblock %}
            {% block method %}
                <input type="hidden" name="_method" value="DELETE" />
            {% endblock %}
            {% block field %}
                <input type="hidden" name="identifierKey" value="{{ identifierValue }}" />
            {% endblock %}
            {% block token %}
                <input type="hidden" name="form[_token]" value="{{ form._token.vars.value }}" />
            {% endblock %}
            {% block action %}
                {% block action_open %}<button type="submit" class="btn btn-danger" title="{% if (show_label is not defined) %}{{ 'Delete' | trans }}{% endif %}" data-target="#modalDelete" data-toggle="modal">{% endblock %}
                    {% block action_icon %}{% endblock %} {% block action_label %}{% if (show_label is defined) and (show_label == true) %}{{ 'Delete' | trans }}{% endif %}{% endblock %}
                {% block action_close %}</button>{% endblock %}
            {% endblock %}
        {% block form_close %}</form>{% endblock %}
    {% block container_close %}{% endblock %}
{% endif %}

Fix parameter on field hidden.

{% if cekurte_is_granted('DELETE') %}
    {% block search -%}
        {% include 'CekurteGeneratorBundle:Action:delete-modal.html.twig' %}
    {% endblock %}
    {% block container_open %}{% endblock %}
        {% block form_open %}<form class="form-delete-inline{% if (show_label is defined) and (show_label == true) %} {{ 'form-delete' | trans }}{% endif %}" action="{{ path(route, {(identifierKey) : identifierValue}) }}" method="post">{% endblock %}
            {% block method %}
                <input type="hidden" name="_method" value="DELETE" />
            {% endblock %}
            {% block field %}
                <input type="hidden" name="{{ identifierKey }}" value="{{ identifierValue }}" />
            {% endblock %}
            {% block token %}
                <input type="hidden" name="form[_token]" value="{{ form._token.vars.value }}" />
            {% endblock %}
            {% block action %}
                {% block action_open %}<button type="submit" class="btn btn-danger" title="{% if (show_label is not defined) %}{{ 'Delete' | trans }}{% endif %}" data-target="#modalDelete" data-toggle="modal">{% endblock %}
                    {% block action_icon %}{% endblock %} {% block action_label %}{% if (show_label is defined) and (show_label == true) %}{{ 'Delete' | trans }}{% endif %}{% endblock %}
                {% block action_close %}</button>{% endblock %}
            {% endblock %}
        {% block form_close %}</form>{% endblock %}
    {% block container_close %}{% endblock %}
{% endif %}


Call For Papers Now Open!

Submission accepted until {{ site.enddate }}

                        Register Now
                        View Submissions

For More Information About The Conference

Visit Conference Site

Adjust alignment of visit conference site button on homepage


{% extends 'partials/shoppingcart_core_base.html.twig' %}

{% block javascripts %}
    {{ parent() }}
    {% do assets.addJs('plugin://shoppingcart/js/shoppingcart_checkout.js') %}
    {% do assets.addJs('plugin://shoppingcart/js/shoppingcart_checkout_events.js') %}
{% endblock %}

{% block content %}
    {% include 'partials/shoppingcart_core_cart.html.twig' %}

{{ 'PLUGIN_SHOPPINGCART.CHECKOUT_PAGE_TITLE'|t }}

        {% set form = config.plugins.shoppingcart.checkout_form %}
        <form name="{{ form.name }}"
              action="{{ form.action ? base_url ~ form.action : page.url }}"
              method="{{ method }}"{{ multipart }}>

        {% for field in form.fields %}
            {% set value = form.value(field.name) %}

                {% include "forms/fields/#{field.type}/#{field.type}.html.twig" %}

        {% endfor %}

          {% for button in form.buttons %}
              <button class="{{ button.classes|default('button') }}" type="{{ button.type|default('submit') }}">{{ button.value|t|default('Submit') }}</button>
          {% endfor %}

          {{ nonce_field('form', 'form-nonce') }}
        </form>

{% endblock %}

Extend form template instead of providing our own form markup

{% extends 'partials/shoppingcart_core_base.html.twig' %}

{% block javascripts %}
    {{ parent() }}
    {% do assets.addJs('plugin://shoppingcart/js/shoppingcart_checkout.js') %}
    {% do assets.addJs('plugin://shoppingcart/js/shoppingcart_checkout_events.js') %}
    {% do assets.addInlineJs('(function() { ShoppingCart.currentPageIsCheckout = true; }());') %}
{% endblock %}

{% block content %}
    {% include 'partials/shoppingcart_core_cart.html.twig' %}

{{ 'PLUGIN_SHOPPINGCART.CHECKOUT_PAGE_TITLE'|t }}

        {% set form = config.plugins.shoppingcart.checkout_form %}
        {% include 'forms/default/form.html.twig' %}

{% endblock %}


{# empty Twig template #}
{% extends "::base.html.twig" %}

{% block title %}Demo 1 | Πελάτης{% endblock %}

{% block body %}
    {% if errors %}

Σφάλμα Εξουσιοδότησης

{{ errors[0] }}

    {% endif %}

    Έκδοση Τεκμηρίου Πρόσβασης - Πλήρης Διαδικασία

    Αίτηση για εικόνα 1

    Slideshow

Αποσύνδεση Ιδιοκτήτη Πόρων

{% endblock %}

Remove unused links from the Client demo template.

{# empty Twig template #}
{% extends "::base.html.twig" %}

{% block title %}Demo 1 | Πελάτης{% endblock %}

{% block body %}
    {% if errors %}

Σφάλμα Εξουσιοδότησης

{{ errors[0] }}

    {% endif %}

{#    Έκδοση Τεκμηρίου Πρόσβασης - Πλήρης Διαδικασία#}
{#
#}
{#    Αίτηση για εικόνα 1#}
{#
#}
    Slideshow

{#
Αποσύνδεση Ιδιοκτήτη Πόρων
#}
{% endblock %}


{% macro help(input, output)  %}

{{ input }}

        {% if output is null %}
            {{ input|markdown }}
        {% else %}
            {{ output }}
        {% endif %}

{% endmacro %}

{% import _self as md %}

Headers

{{ md.help('# This is big header
## This is smaller header
###### This is the smallest header') }}

Emphasis

{{ md.help('*This text will be italic*
_This will also be italic_

**This text will be bold**
__This will also be bold__

~~This text will be crossed out~~

_You **can** ~~combine~~ them_') }}

Lists

Unordered

{{ md.help('* Item 1
* Item 2
* Item 2a
* Item 2b') }}

Ordered

{{ md.help('1. Item 1
2. Item 2
3. Item 3
   * Item 3a
   * Item 3b') }}

Images

{{ md.help('![Some image](/images/logo.png)
Format: ![Alt Text](http://example.com/link-to-image.png)', '') }}

Links

{{ md.help('http://demontpx.com - automatic!
[DemonTPx](http://demontpx.com)') }}

Blockquotes

{{ md.help('As Richard Dawkins said:

> The solution often turns out
> more beautiful than the puzzle.') }}

Inline code

{{ md.help('I think we should never
use `<blink>` ever again.') }}

Tables

{{ md.help('First Header | Second Header
------------ | -------------
Content from cell 1 | Content from cell 2
Content in the first column | Content in the second column') }}

{{ md.help('| Left-Aligned  | Center Aligned  | Right Aligned |
| :------------ |:---------------:| -----:|
| col 3 is      | some wordy text | $1600 |
| col 2 is      | centered        |   $12 |') }}


{#
 #
 # This file is part of the CSBill package.
 #
 # (c) Pierre du Plessis <info@customscripts.co.za>
 #
 # For the full copyright and license information, please view the LICENSE
 # file that was distributed with this source code.
#}

{% extends 'CSCoreBundle::layout.html.twig' %}

Extend the CSBillCoreBundle default layout in the single column view

{#
 #
 # This file is part of the CSBill package.
 #
 # (c) Pierre du Plessis <info@customscripts.co.za>
 #
 # For the full copyright and license information, please view the LICENSE
 # file that was distributed with this source code.
#}

{% extends 'CSBillCoreBundle:Layout:default.html.twig' %}


{% extends 'base.html.twig' %}

{% block body %}

Page not found

    {# example security usage, see below #}

        The requested page couldn't be located. Checkout for any URL
        misspelling or return to the homepage.

{% endblock %}

Change path to in link on 404 page


    {{ stripe_event_data['invoice'].date|date("j F Y") }} -
    {% if stripe_event_data['invoice'].paid == true %}
    paid
    {% else %}
    unpaid
    {% endif %}

        {% for line in stripe_event_data['invoice'].lines.data %}

                {% if line.type == 'subscription' %}
                    Subscription to {{ line.plan.name|lower }} plan {% if line.amount == 0 %}(free trial){% endif %}

{{ line.period.start|date("j F Y") }} to {{ line.period.end|date("j F Y") }}
                {% endif %}

            £{{ (line.amount / 100)|number_format(2) }}

        {% endfor %}

            Total
            £{{ (stripe_event_data['invoice'].total/100)|number_format(2) }}

Add payment attempt count and next payment attempt relative date to latest invoice (for zero attempts currently)

    {{ stripe_event_data['invoice'].date|date("j F Y") }} -
    {% if stripe_event_data['invoice'].paid == true %}
    paid
    {% else %}
    unpaid
    {% endif %}

        {% for line in stripe_event_data['invoice'].lines.data %}

                {% if line.type == 'subscription' %}
                    Subscription to {{ line.plan.name|lower }} plan {% if line.amount == 0 %}(free trial){% endif %}

{{ line.period.start|date("j F Y") }} to {{ line.period.end|date("j F Y") }}
                {% endif %}

            £{{ (line.amount / 100)|number_format(2) }}

        {% endfor %}

            Total
            £{{ (stripe_event_data['invoice'].total/100)|number_format(2) }}

{% if stripe_event_data['invoice'].attempt_count == 0 %}

    We haven't tried to take payment for this invoice yet. We will try
    in about {{ stripe_event_data['invoice'].next_payment_attempt_relative }}.

{% else %}
{% endif %}


{% extends "layouts/default.twig" %}
{% block content %}

Create your {{ site.title }} speaker profile below

  {% include 'forms/_user.twig' %}
{% endblock %}

Add note about creating complete profile.

{% extends "layouts/default.twig" %}
{% block content %}

Create your {{ site.title }} speaker profile below

A complete profile improves your chances of being selected.

  {% include 'forms/_user.twig' %}
{% endblock %}


Replace relatedContact and relatedAccount relations with association in Call entity

{#
    Renders a link which can be used to open send email dialog
    Parameters:
        email      - TO email address
        entity     - a target entity an email should be associated with
        parameters - additional parameters, array:
            [
                'aCss' - additional css class for 'a' tag
            ]
#}
{% macro sendEmailLink(email, entity, parameters) -%}
    {% import 'OroUIBundle::macros.html.twig' as UI %}
    {{- UI.clientLink({
        'dataUrl': path(
            'oro_email_email_create', {
                to: email,
                entityClass: oro_class_name(entity, true),
                entityId: entity.id
        }),
        'aCss': parameters.aCss is defined ? parameters.aCss ~ ' no-hash' : 'no-hash',
        'label' : email,
        'widget' : {
            'type' : 'dialog',
            'multiple' : true,
            'reload-grid-name' : 'activity-email-grid',
            'options' : {
                'alias': 'email-dialog',
                'dialogOptions' : {
                    'title' : 'oro.email.send_email'|trans,
                    'allowMaximize': true,
                    'allowMinimize': true,
                    'dblclick': 'maximize',
                    'maximizedHeightDecreaseBy': 'minimize-bar',
                    'width': 1000
                }
            }
        }
    }) -}}
{% endmacro -%}


{% from '@SyliusAdmin/Macro/translationForm.html.twig' import translationForm %}

    {{ form_errors(form) }}

        {{ form_row(form.code) }}
        {{ form_row(form.name) }}
        {{ form_row(form.channels) }}

    {{ translationForm(form.translations) }}

Rework current Catalog Promotions form


{# Extension of login page #}
{% extends '::root.html.twig' %}

{% block title %}Keosu Authentication{% endblock %}

{% block skeleton %}

	{% block fos_user_content %}

		{% if error %}

{{ error|trans({}, 'FOSUserBundle') }}

		{% endif %}

				<form action="{{ path("fos_user_security_check") }}" method="post">
				    <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />

				    Username:
				    <input class="form-control" type="text" id="username" name="_username" value="{{ last_username }}" required="required" />

				    Password
				    <input class="form-control" type="password" id="password" name="_password" required="required" />

				    <input id="spinner-load" class="form-control" type="submit" id="_submit" name="_submit" value="Se connecter" />
				</form>

	{% endblock fos_user_content %}

{% endblock %}

Fix error message on connect

{# Extension of login page #}
{% extends '::root.html.twig' %}

{% block title %}Keosu Authentication{% endblock %}

{% block skeleton %}

	{% block fos_user_content %}

		{% if error %}

Erreur de connexion, vérifiez votre mot de passe

		{% endif %}

				<form action="{{ path("fos_user_security_check") }}" method="post">
				    <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />

				    Username:
				    <input class="form-control" type="text" id="username" name="_username" value="{{ last_username }}" required="required" />

				    Password
				    <input class="form-control" type="password" id="password" name="_password" required="required" />

				    <input id="spinner-load" class="form-control" type="submit" id="_submit" name="_submit" value="Se connecter" />
				</form>

	{% endblock fos_user_content %}

{% endblock %}


Add a twig to include for external pages. Include this Twig in other template files to correctly show the cart on them

{# Include this Twig in other template files to correctly show the cart on them #}

{% if config.plugins.shoppingcart.general.load_js_globally == false %}
    Turn on the "Load Cart JavaScript globally" option to show the cart on this page
{% else %}
    <script>
    (function() {
        ShoppingCart.currentPageIsExternal = true;
    }());
    </script>

    {% include 'partials/shoppingcart_core_cart.html.twig' %}
{% endif %}


{% extends "FOMManagerBundle::backend.html.twig" %}

{% block title %} {{ 'fom.user.password.reset.title' | trans}} {% endblock %}

{% block content %}

{{ 'fom.user.password.reset.caption' | trans}}

<form action="{{ url('fom_user_password_password', {"token": app.request.get("token")}) }}" method="post" {{ form_enctype(form)}} autocomplete="off">
    {% if form_errors(form) | length > 0 %}

            {{ form_errors(form) }}

    {% endif %}

    {{ form_row(form._token) }}
    {{ form_row(form.password) }}

    <button class="button">{{ 'fom.user.password.reset.btn' | trans}}</button>
</form>
{% endblock %}

Fix reset password page styling

{% set application = {'slug': 'manager'} %}

{% extends "FOMUserBundle:Login:box.html.twig" %}

{% block css %}
    <link rel="stylesheet" href="{{ path('mapbender_core_application_assets', {'slug': 'mb3-login', 'type': 'css'}) }}"/>
{% endblock %}

{% block title %} {{ 'fom.user.password.reset.title' | trans}} {% endblock %}

{% block box_content %}

{{ 'fom.user.password.reset.caption' | trans }}

        <form action="{{ url('fom_user_password_password', {"token": app.request.get("token")}) }}"
              method="post" {{ form_enctype(form) }} autocomplete="off">
            {% if form_errors(form) | length > 0 %}

                    {{ form_errors(form) }}

            {% endif %}
            {{ form_row(form._token) }}
            {{ form_row(form.password) }}
            <button class="button">{{ 'fom.user.password.reset.btn' | trans }}</button>
        </form>

{% endblock %}


<!DOCTYPE html>
{% block tag_html %}<html>{% endblock %}

	<head>

		{% block head %}

		<title>{% block title %}{{ app_name }}{% endblock %}</title>

		{% block meta %}
		<meta charset="{{ app_charset }}" />
		{% if block('meta_description') is not empty %}
		<meta name="description" content="{% block meta_description %}{% endblock %}">
		{% endif %}
		{% endblock %}

		{% block stylesheets %}{% endblock %}

		{% endblock %}

	</head>

	{% block tag_body %}<body>{% endblock %}

		{% block body %}

		{% block content %}{% endblock %}

		{% endblock %}

		{% block javascripts %}{% endblock %}

	</body>

</html>

Use variable instead of block for meta description

<!DOCTYPE html>
{% block tag_html %}<html>{% endblock %}

	<head>

		{% block head %}

		<title>{% block title %}{{ app_name }}{% endblock %}</title>

		{% block meta %}
		<meta charset="{{ app_charset }}" />
		{% if meta_description is defined %}
		<meta name="description" content="{{ meta_description }}">
		{% endif %}
		{% endblock %}

		{% block stylesheets %}{% endblock %}

		{% endblock %}

	</head>

	{% block tag_body %}<body>{% endblock %}

		{% block body %}

		{% block content %}{% endblock %}

		{% endblock %}

		{% block javascripts %}{% endblock %}

	</body>

</html>


{#
 # This file is part of SolidInvoice package.
 #
 # (c) Pierre du Plessis <open-source@solidworx.co>
 #
 # This source file is subject to the MIT license that is bundled
 # with this source code in the file LICENSE.
 #}

{% extends '@SolidInvoiceCore/Layout/default_no_nav.html.twig' %}

{% block title %}
    {{ app_logo() }}
    {{ "installation.title"|trans({"%app_name%" : constant('SolidInvoice\\CoreBundle\\SolidInvoiceCoreBundle::APP_NAME')}) }}
{% endblock title %}

Fix page title on installation pages

{#
 # This file is part of SolidInvoice package.
 #
 # (c) Pierre du Plessis <open-source@solidworx.co>
 #
 # This source file is subject to the MIT license that is bundled
 # with this source code in the file LICENSE.
 #}

{% extends '@SolidInvoiceCore/Layout/default_no_nav.html.twig' %}

{% block title %}
    {{ app_logo() }}
    {{ "installation.title"|trans({"%app_name%" : constant('SolidInvoice\\CoreBundle\\SolidInvoiceCoreBundle::APP_NAME')}) }}
{% endblock title %}

{% block page_title %}
    {{ "installation.title"|trans({"%app_name%" : constant('SolidInvoice\\CoreBundle\\SolidInvoiceCoreBundle::APP_NAME')}) }}
{% endblock page_title %}


<a href="{{ hyperlink.url }}" class="block-link {{ styleModifier }}"{% if styleModifier == 'block-link--external' %} target="_blank"{% endif %}>
    {{ hyperlink.title }}
</a>

Add isExternal variable and accessible hint to link

    {{ hyperlink.title }}
    {% if isExternal %}, öffnet in einem neuen Fenster{% endif %}


<!DOCTYPE html>
<html>
    <head>
        <title>{% block title %}{{ node.name }}{% endblock %}</title>
        {% block stylesheets %}
            {{ openOrchestraCss(node.theme) }}
        {% endblock %}
        <script src="{{ asset('/bundles/openorchestradisplay/libs/require.js') }}"></script>
        <script src="{{ asset('/bundles/openorchestradisplay/requireConf.js') }}"></script>
        <meta name="ROBOTS" content="
            {{- node.metaFollow ? 'FOLLOW': 'NOFOLLOW' -}},
            {{- node.metaIndex ? 'INDEX': 'NOINDEX' -}}
        ">
    </head>
    <body>
        {% for area in node.areas %}
            {% include "OpenOrchestraFrontBundle:Node:area.html.twig" with {"area": area, 'nodeId': node.nodeId, 'parameters': parameters } only %}
        {% endfor %}

        {% block javascripts %}
            {{ openOrchestraJs(node.theme) }}
        {% endblock %}
    </body>
</html>

Add the meta keywords and description in the node layout

<!DOCTYPE html>
<html>
    <head>
        <title>{% block title %}{{ node.name }}{% endblock %}</title>
        {% block stylesheets %}
            {{ openOrchestraCss(node.theme) }}
        {% endblock %}
        <script src="{{ asset('/bundles/openorchestradisplay/libs/require.js') }}"></script>
        <script src="{{ asset('/bundles/openorchestradisplay/requireConf.js') }}"></script>
        <meta name="robots" content="{{- node.metaFollow ? 'follow': 'nofollow' -}},{{- node.metaIndex ? 'index': 'noindex' -}}">
        <meta name="description" content="{{ node.metaDescription }}">
        <meta name="keywords" content="{{ node.metaKeywords }}">
    </head>
    <body>
        {% for area in node.areas %}
            {% include "OpenOrchestraFrontBundle:Node:area.html.twig" with {"area": area, 'nodeId': node.nodeId, 'parameters': parameters } only %}
        {% endfor %}

        {% block javascripts %}
            {{ openOrchestraJs(node.theme) }}
        {% endblock %}
    </body>
</html>


{% extends '/layout.html.twig' %}

{% block body %}

What Is Joind.In?

Do you love being involved at tech conferences? Do you love contributing your feedback on the talks you're attending, seeing who else is there? Do you want to catch up on the talks you attended (or missed)?

Joind.In does all this, helping you be a real part of the conference before, during and afterwards. It is the replacement for all those paper submission forms that get left on the floor at the end of an event. The site gives details of events past, present and future, the sessions, timetable and speakers at each, and allows all attendees to register and leave feedback - for the sessions and for the event itself.

Got Something To Say?

If you have any comments, questions, feedback or anything else you'd like us to know, then do please get in touch. We'd be delighted to hear from you!

{% endblock %}

Fix mailto: link on about page.


{# MODAL #}

{#                <button type="button" class="close" data-dismiss="modal">×Close</button>#}

Confirm delete

                Do you really want to delete ""?

                <button type="button" class="btn btn-default btn-link" data-dismiss="modal">Cancel</button>
                Delete

Add a title to Delete confirmation button

{# MODAL #}

{#                <button type="button" class="close" data-dismiss="modal">×Close</button>#}

Confirm delete

                Do you really want to delete ?

                <button type="button" class="btn btn-default btn-link" data-dismiss="modal">Cancel</button>
                Delete


{% block benefits %}

{{section.acf_block_title}}

    {{section.acf_block_content}}
    {% if benefits %}

        {% for benefit in benefits %}

{{loop.index}}. {{benefit.post_title}}

{{benefit.post_content|wpautop}}

        {% endfor %}

    {% endif %}

{% endblock %}

Add hover effect for benefit info


{% trans_default_domain 'FOSUserBundle' %}

Your Profile

{{ form_start(form, { 'action': path('fos_user_profile_edit'), 'attr': { 'class': 'fos_user_profile_edit' } }) }}
    {{ form_widget(form) }}

        <input type="submit" value="{{ 'profile.edit.submit'|trans }}" />

{{ form_end(form) }}

Add more form fields to edit profile template

{% trans_default_domain 'FOSUserBundle' %}

Your Profile

{{ form_start(form, { 'action': path('fos_user_profile_edit'), 'attr': { 'class': 'fos_user_profile_edit' } }) }}
    {{ form_row(form.firstName) }}
    {{ form_row(form.lastName) }}
    {{ form_row(form.email) }}
    {{ form_row(form.username) }}
    {{ form_row(form.plainPassword) }}

        <input type="submit" value="{{ 'profile.edit.submit'|trans }}" />

{{ form_end(form) }}


{% extends "ProjectAppBundle::layout.html.twig" %}

{% block content %}

        {% if entities is empty %}

                    Aucune archive n'est actuellement disponible.

        {% else %}
            {% for entity in entities %}

{{ entity.archive.year | date('Y') }} - {{ entity.archive.name }}

                            {% if entity.promotions is not empty %}
                                Promotion(s) inclue(s) :

                                            Dates
                                            Formation

                                        {% for promotion in entity.promotions %}

                                                {{ promotion.startDate | date('Y') }} - {{ promotion.endDate | date('Y') }}
                                                {{ promotion.formation.name }}

                                        {% endfor %}

                            {% endif %}

                            Télécharger

            {% endfor %}
        {% endif %}

{% endblock %}

Add link to new entity

{% extends "ProjectAppBundle::layout.html.twig" %}

{% block content %}

        Nouvelle archive

        {% if entities is empty %}

                    Aucune archive n'est actuellement disponible.

        {% else %}
            {% for entity in entities %}

{{ entity.archive.year | date('Y') }} - {{ entity.archive.name }}

                            {% if entity.promotions is not empty %}
                                Promotion(s) inclue(s) :

                                            Dates
                                            Formation

                                        {% for promotion in entity.promotions %}

                                                {{ promotion.startDate | date('Y') }} - {{ promotion.endDate | date('Y') }}
                                                {{ promotion.formation.name }}

                                        {% endfor %}

                            {% endif %}

                            Télécharger

            {% endfor %}
        {% endif %}

{% endblock %}


{{ data('editcontent.delete', __('general.phrase.confirm-remove-record')) }}

    <button type="button" class="btn btn-silent-danger" id="sidebar_delete">
         {{ __('contenttypes.generic.delete', {'%contenttype%': context.contenttype.slug}) }}
    </button>

Replace `slug` with `singular_name` on "Delete"-button

{{ data('editcontent.delete', __('general.phrase.confirm-remove-record')) }}

    <button type="button" class="btn btn-silent-danger" id="sidebar_delete">
         {{ __('contenttypes.generic.delete', {'%contenttype%': context.contenttype.singular_slug}) }}
    </button>


{#
Copyright 2012 Rithis Studio LLC
Author Vyacheslav Slinko <vyacheslav.slinko@rithis.com>
#}
<!DOCTYPE html>

    <title>{% block title %}{% trans from "rithis_bootstrap" %}title{% endtrans %}{% endblock %}</title>
    <link rel="stylesheet" href="/bundles/rithisbootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/bundles/rithisbootstrap/css/font-awesome.css">
    {% block head %}{% endblock %}

    {% block body %}

{% block header %}{% trans from "rithis_bootstrap" %}header{% endtrans %}{% endblock %}

        {% block content "" %}

{% block footer %}© 2012 {% trans from "rithis_bootstrap" %}copyright{% endtrans %}{% endblock %}

    {% endblock %}

Move container inside body block


{% trans_default_domain 'admin' %}

{% import _self as menu %}

{% macro render(items) %}

    {% import _self as menu %}

        {% for item in items %}

                {% if item.smallIcon %}

                {% endif %}
                {{ item.indexTitle|trans }}
                {% if item.associatedObject
                    and utils_new_objects_countable(item.associatedObject)
                    and utils_count_new_objects(item.associatedObject)
                %}
                    {{ utils_count_new_objects(item.associatedObject) }}
                {% endif %}
                {% if item.children is not empty %}

                    {{ menu.render(item.children) }}

                {% endif %}

        {% endfor %}

{% endmacro %}

    {{ menu.render(items) }}

Set menu item icon dimensions.


{% extends '::base.html.twig' %}

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

{% block body %}

            Id
            Project
            Name
            Live
            Framework Version
            Actions

        {% for entity in entities %}

                {{ entity.id }}
                {% if entity.project %}{{ entity.project.name }}{% endif %}
                {{ entity.name }}
                {{ entity.live }}
                {{ entity.frameworkVersion }}

                            show

                            edit

        {% endfor %}

                Create a new entry

{% endblock %}

Add framework name to the lsit

{% extends '::base.html.twig' %}

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

{% block body %}

            Id
            Project
            Name
            Live
            Framework
            Framework Version
            Actions

        {% for entity in entities %}

                {{ entity.id }}
                {% if entity.project %}{{ entity.project.name }}{% endif %}
                {{ entity.name }}
                {{ entity.live }}
                {{ entity.framework ? entity.framework.name : '' }}
                {{ entity.frameworkVersion }}

                            show

                            edit

        {% endfor %}

                Create a new entry

{% endblock %}


{% for game in games %}

{{ game.name}} {% if game.complete %} (F){% endif %}

        {{ game.gameDate|date('m/d/Y') }}
        {% if game.complete %}
            {% if game.winner == game.homeTeam %}
                {% set homeClass = "success" %}
                {% set awayClass = "important" %}
            {% else %}
                {% set homeClass = "important" %}
                {% set awayClass = "success" %}
            {% endif %}

		        {{ game.homeTeam.id }} ({{ game.homeTeamScore }})
                vs
                {{ game.awayTeam.id }} ({{ game.awayTeamScore }})

        {% else %}

{{ game.homeTeam.id}} vs. {{ game.awayTeam.id }} on  {{ game.network }} <time>{{ game.gameDate|date('g:i a') }}</time>

        {% endif %}

{% endfor %}

Remove markup from game list


            Date
            Status
            Amount
            Payment Method
            {% if show_luncheons is defined and show_luncheons %}
            Luncheon
            {% endif %}

    {% for entity in entities %}

            {{ entity.trandate|date('m-d-Y') }}

            {% if entity.status == "PROCESSING" %}

                    PROCESSING

            {% elseif entity.status == "PROCESSED" %}

                    PROCESSED

            {% else %}

                    AWAITING PROCESS

            {% endif %}

            ${{ entity.amount + entity.servicechg }}

            {% if entity.pmtmethod == "CREDIT_CARD" %}
                Credit Card / PayPal
            {% elseif entity.pmtmethod == "CHECK" %}
                Check
            {% else %}
                Other
            {% endif %}

            {% if show_luncheons is defined and show_luncheons %}
            {{ entity.luncheon }}
            {% endif %}

    {% endfor %}

Remove status column from user-facing transaction tables

            Date
            Amount
            Payment Method
            {% if show_luncheons is defined and show_luncheons %}
            Luncheon
            {% endif %}

    {% for entity in entities %}

            {{ entity.trandate|date('m-d-Y') }}
            ${{ entity.amount + entity.servicechg }}

            {% if entity.pmtmethod == "CREDIT_CARD" %}
                Credit Card / PayPal
            {% elseif entity.pmtmethod == "CHECK" %}
                Check
            {% else %}
                Other
            {% endif %}

            {% if show_luncheons is defined and show_luncheons %}
            {{ entity.luncheon }}
            {% endif %}

    {% endfor %}


{% form_theme form with ['OroFormBundle:Form:fields.html.twig', _self] %}

    {% if saved %}

    {% else %}
        {% if not form.vars.valid and form.vars.errors|length %}

                    {{ form_errors(form) }}

        {% endif %}

            <form id="{{ form.vars.name }}" action="{{ formAction }}" method="post">
                <fieldset class="form-horizontal">
                    {{ form_rest(form) }}

                        <button class="btn" type="reset">{{ 'Cancel'|trans }}</button>
                        <button class="btn btn-primary" type="submit">{{ 'Apply'|trans }}</button>

                </fieldset>
            </form>
            {{ oro_form_js_validation(form) }}

    {% endif %}

Add Shared link to entity view page - refresh page after apply share records


<p class="background-{{ faction_code }}-20"
	style="padding: 3px 5px; border-radius: 3px; border: 1px solid silver">
	<button type="button" class="close" aria-hidden="true" onclick="$(this).parent('p').remove()">×</button>
	<input type="hidden" name="cards[]" value="{{ code }}">{{ title }}
</p>

Include pack name on cards (page load)

	<button type="button" class="close" aria-hidden="true" onclick="$(this).parent('p').remove()">×</button>
	<input type="hidden" name="cards[]" value="{{ code }}">{{ title }} ({{ pack.name }})


{% import "Layout/Templates/macros.html.twig" as macro %}

      {% for item in navigation %}

            {{ ('lbl.'~item.label)|trans|ucfirst }}

      {% endfor %}

    <button href="#" class="js-toggle-nav" role="button">
      {{ macro.icon('chevron-left') }}

    </button>

Remove href from button toggle nav

{% import "Layout/Templates/macros.html.twig" as macro %}

      {% for item in navigation %}

            {{ ('lbl.'~item.label)|trans|ucfirst }}

      {% endfor %}

    <button class="js-toggle-nav" role="button">
      {{ macro.icon('chevron-left') }}

    </button>


Create version 2 of tabs helper which prevents duplicate tab sources from creating duplicate tab panes in the markup

{%- macro list(tabs) -%}
    {% import '@pulsar/pulsar/v2/helpers/html.html.twig' as html %}

    {%- for tab in tabs -%}

        {%
            set options = {
                'label': tab.label,
                'href': '#' ~ tab.id,
                'data-toggle': 'tab'
            }
        %}

        {{
            html.link(options|merge(tab.data|default({})))
        }}

    {%- endfor -%}

{%- endmacro -%}

{%- macro content(tabs) -%}
    {% set existingSources = [] %}

    {%- for tab in tabs -%}

        {%- if tab.src is defined and tab.src != null and tab.src not in existingSources -%}

                {{ tab.src|raw }}

            {% set existingSources = existingSources|merge([tab.src]) %}
        {%- endif -%}
    {%- endfor -%}

    {{ dump(existingSources) }}
{%- endmacro -%}


{% extends 'KoalaContentBundle::layout.html.twig' %}

{% block content %}

{{page.title}}

		{% if regions.main is defined %}
			{{regions.main|raw}}
		{% endif %}

{% endblock %}

Check if page has a defined title before output

{% extends 'KoalaContentBundle::layout.html.twig' %}

{% block content %}

{% if regions.title is defined %}{{regions.title}}{% endif %}

		{% if regions.main is defined %}
			{{regions.main|raw}}
		{% endif %}

{% endblock %}


        {{ sonata_block_render({ 'type' : 'sonata.user.block.account', 'position' : 'left' }) }}

We are the online audio & video community resource

for central access to programming knowledge in audio/video format

        <form method='post' action='{{ path('search_results') }}'>
            <input id="searchCriteria" class="search" name="search" type="text" placeholder="What can we find for you?"/>
            <input id="searchButton" class="search" type="image" alt="Search" src="{{ asset('images/searchButton.png') }}" />
        </form>

Edit text in blue strip

        {{ sonata_block_render({ 'type' : 'sonata.user.block.account', 'position' : 'left' }) }}

We are the #1 online community resource

for central access to programming knowledge in audio/video format

        <form method='post' action='{{ path('search_results') }}'>
            <input id="searchCriteria" class="search" name="search" type="text" placeholder="What can we find for you?"/>
            <input id="searchButton" class="search" type="image" alt="Search" src="{{ asset('images/searchButton.png') }}" />
        </form>


{% set title = title|default('Secret Santa - The Secret Santa bot for your Slack or Discord team') %}
{% set description = description|default('An application to throw Secret Santa with your team on Slack, Discord, etc.') %}

<title>{{ title }}</title>
<meta name="description" content="{{ description }}">
<meta name="author" content="JoliCode">
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ description }}" />
<meta property="og:url" content="{{ app.request.uri }}" />

Add the keywords "App" and "Free" in the SEO data

{% set title = title|default('Secret Santa App - The Secret Santa bot for your Slack or Discord team') %}
{% set description = description|default('A free application to throw Secret Santa with your team on Slack and Discord and share gifts during the holidays!') %}

<title>{{ title }}</title>
<meta name="description" content="{{ description }}">
<meta name="author" content="JoliCode">
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ description }}" />
<meta property="og:url" content="{{ app.request.uri }}" />


        <select class="filter js__filter" data-name="type" data-grav-selectize>
            <option value="*" {% if not grav.uri.param('type') %}selected{% endif %}>All Files</option>
            <option value="images" {% if grav.uri.param('type') == 'images' %}selected{% endif %}>Images</option>
            <option value="videos"{% if grav.uri.param('type') == 'videos' %}selected{% endif %}>Videos</option>
            <option value="audios"{% if grav.uri.param('type') == 'audios' %}selected{% endif %}>Audio</option>
            <option value="files"{% if grav.uri.param('type') == 'files' %}selected{% endif %}>Files</option>
        </select>

        <select class="filter js__filter" data-name="date" data-grav-selectize>
            <option value="*">All Dates</option>
            {% for year, months in admin.filesDates %}
                <optgroup label="{{year}}">
                    {% for month, number in months %}
                        <option value="{{year}}-{{month}}" {% if grav.uri.param('date') == year~'-'~month %}selected{% endif %}>{{ month }}</option>
                    {% endfor %}
                </optgroup>
            {% endfor %}

        </select>

Add number of media in date filter

        <select class="filter js__filter" data-name="type" data-grav-selectize>
            <option value="*" {% if not grav.uri.param('type') %}selected{% endif %}>All Files</option>
            <option value="images" {% if grav.uri.param('type') == 'images' %}selected{% endif %}>Images</option>
            <option value="videos"{% if grav.uri.param('type') == 'videos' %}selected{% endif %}>Videos</option>
            <option value="audios"{% if grav.uri.param('type') == 'audios' %}selected{% endif %}>Audio</option>
            <option value="files"{% if grav.uri.param('type') == 'files' %}selected{% endif %}>Files</option>
        </select>

        <select class="filter js__filter" data-name="date" data-grav-selectize>
            <option value="*">All Dates</option>
            {% for year, months in admin.filesDates %}
                <optgroup label="{{year}}">
                    {% for month, number in months %}
                        <option value="{{year}}-{{month}}" {% if grav.uri.param('date') == year~'-'~month %}selected{% endif %}>{{ month }} ({{number}})</option>
                    {% endfor %}
                </optgroup>
            {% endfor %}

        </select>


{#
Flash messages summary HTML template
#}

    {% if app.session.started and app.session.flashBag.peekAll is not empty %}

        {% if app.session.flashBag.has('passed') %}

                    {#<button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        ×
                    </button> #}
                    {{ app.session.flashBag.peek('passed')[0]|trans }} {#Подробнее... #}

        {% endif %}
        {% if app.session.flashBag.has('errors') %}

                {#<button type="button" class="close" data-dismiss="alert" aria-label="Close">
                    ×
                </button> #}
                {{ app.session.flashBag.get('errors')[0]|trans }} {# Подробнее... #}

        {% endif %}
    {% endif %}

Update for flash messages summary functionality to make message disappearing if it was displayed already

{#
Flash messages summary HTML template
#}

    {% if app.session.started and app.session.flashBag.peekAll is not empty %}

        {% if app.session.flashBag.has('passed') %}

                    {#<button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        ×
                    </button> #}
                    {{ app.session.flashBag.get('passed')[0]|trans }} {#Подробнее... #}

        {% endif %}
        {% if app.session.flashBag.has('errors') %}

                {#<button type="button" class="close" data-dismiss="alert" aria-label="Close">
                    ×
                </button> #}
                {{ app.session.flashBag.get('errors')[0]|trans }} {# Подробнее... #}

        {% endif %}
    {% endif %}


{{ form.message }}

<form name="{{ form.name }}"
      action="{{ uri.rootUrl ~ (form.action|default(page.route)) }}"
      method="{{ form.method|upper|default('POST') }}">
{% for field in form.fields %}
    {% set value = form.value(field.name) %}

        {% include "forms/fields/#{field.type}/#{field.type}.html.twig" %}

{% endfor %}

	{% for button in form.buttons %}
	    <button class="button" type="{{ button.type|default('submit') }}">{{ button.value|default('Submit') }}</button>
	{% endfor %}

</form>

Add form nonce to custom form code

{{ form.message }}

<form name="{{ form.name }}"
      action="{{ uri.rootUrl ~ (form.action|default(page.route)) }}"
      method="{{ form.method|upper|default('POST') }}">
{% for field in form.fields %}
    {% set value = form.value(field.name) %}

        {% include "forms/fields/#{field.type}/#{field.type}.html.twig" %}

{% endfor %}

	{% for button in form.buttons %}
	    <button class="button" type="{{ button.type|default('submit') }}">{{ button.value|default('Submit') }}</button>
	{% endfor %}

	{{ nonce_field('form', 'form-nonce') }}

</form>


{{ props.intro }}

    Quantity
    Description
    Net per item
    VAT per item

    {% for lineItem in props.lineItems %}

            {% if lineItem.quantity != null %}
                    {{ lineItem.quantity }}
                {% else %}
                    -
                {% endif %}
            {{ lineItem.description }}
            {{ lineItem.netPrice }}
            {{ lineItem.vatPerItem }}

    {% endfor %}
    {% set validateFormBody %}

        VAT number.

                If you have a business VAT number please
                enter it here and indicate which country your business is based in.

            <input type="text" name="vatNumber">
            <select name="countryCode">
                {% for cc,country in this.getVatCountries() %}
                    <option value="{{ cc }}">{{ country }}"</option>
                {% endfor %}
            </select>
            <input type="submit" value="Set">

    {% endset %}
    {{ this.exec.wrapForm( "validateVatNumber", "POST", validateFormBody ) }}

{% for provider in props.paymentProviders %}
    {{ component( provider ) }}
{% endfor %}

Remove stray double quote in template.

{{ props.intro }}

    Quantity
    Description
    Net per item
    VAT per item

    {% for lineItem in props.lineItems %}

            {% if lineItem.quantity != null %}
                    {{ lineItem.quantity }}
                {% else %}
                    -
                {% endif %}
            {{ lineItem.description }}
            {{ lineItem.netPrice }}
            {{ lineItem.vatPerItem }}

    {% endfor %}
    {% set validateFormBody %}

        VAT number.

                If you have a business VAT number please
                enter it here and indicate which country your business is based in.

            <input type="text" name="vatNumber">
            <select name="countryCode">
                {% for cc,country in this.getVatCountries() %}
                    <option value="{{ cc }}">{{ country }}</option>
                {% endfor %}
            </select>
            <input type="submit" value="Set">

    {% endset %}
    {{ this.exec.wrapForm( "validateVatNumber", "POST", validateFormBody ) }}

{% for provider in props.paymentProviders %}
    {{ component( provider ) }}
{% endfor %}


{% extends "FOSUserBundle::layout.html.twig" %}

{% block fos_user_content %}
    {% if error %}

{{ error }}

    {% endif %}

    <form action="{{ path("fos_user_security_check") }}" method="post" class="form-stacked">
        <fieldset>
            <legend>Login</legend>

                Username:
                <input type="text" id="username" name="_username" value="{{ last_username }}" />

                Password
                <input type="password" id="password" name="_password" />

                Remember Me
                <input type="checkbox" id="remember_me" name="_remember_me" value="on" />

                <input type="submit" id="_submit" name="_submit" class="btn primary" value="Login" />

        </fieldset>
    </form>
{% endblock fos_user_content %}

Add a link to the reset password link

{% extends "FOSUserBundle::layout.html.twig" %}

{% block fos_user_content %}
    {% if error %}

{{ error }}

    {% endif %}

    <form action="{{ path("fos_user_security_check") }}" method="post" class="form-stacked">
        <fieldset>
            <legend>Login</legend>

                Username:
                <input type="text" id="username" name="_username" value="{{ last_username }}" />

                Password
                <input type="password" id="password" name="_password" />

                Remember Me
                <input type="checkbox" id="remember_me" name="_remember_me" value="on" />

Did you forget your password? Click here to reset your password

                <input type="submit" id="_submit" name="_submit" class="btn primary" value="Login" />

        </fieldset>
    </form>
{% endblock fos_user_content %}


{% extends "::base.html.twig" %}

{% block page_title %}{{ 'surfnet_stepup_self_service.second_factor.list.title'|trans }}{% endblock %}

{% block content %}

{{ block('page_title') }}

{{ 'surfnet_stepup_self_service.second_factor.list.unverified.title'|trans }}

                {{ 'ss.second_factor_list.header.type'|trans }}
                {{ 'ss.second_factor_list.header.second_factor_identifier'|trans }}

            {% for unverifiedSecondFactor in unverifiedSecondFactors %}

                    {{ 'ss.second_factor.type.'~unverifiedSecondFactor.type|trans }}
                    {{ unverifiedSecondFactor.secondFactorIdentifier }}

            {% endfor %}

{% endblock %}

Modify second factor list to display unverified second factors.

{% extends "::base.html.twig" %}

{% block page_title %}{{ 'surfnet_stepup_self_service.second_factor.list.title'|trans }}{% endblock %}

{% block content %}

{{ block('page_title') }}

{{ 'surfnet_stepup_self_service.second_factor.list.unverified.title'|trans }}

    {% if unverifiedSecondFactors is empty %}

{{ 'surfnet_stepup_self_service.second_factor.list.text.no_second_factors' }}

            {{ 'surfnet_stepup_self_service.second_factor.list.button.register_second_factor' }}

    {% else %}

                    {{ 'ss.second_factor_list.header.type'|trans }}
                    {{ 'ss.second_factor_list.header.second_factor_identifier'|trans }}

                {% for unverifiedSecondFactor in unverifiedSecondFactors %}

                        {{ 'ss.second_factor.type.'~unverifiedSecondFactor.type|trans }}
                        {{ unverifiedSecondFactor.secondFactorIdentifier }}

                {% endfor %}

    {% endif %}
{% endblock %}


{% extends 'KulaCoreFrameworkBundle::core.html.twig' %}

{% block content %}
<input type="hidden" name="record_id" value="{{ request.query.get('record_id') }}" />
<input type="hidden" name="record_type" value="{{ request.query.get('record_type') }}" />

Synchronize PowerFAIDS for all students in the current financial aid year.

{% endblock %}

Fix message to make it clearer.

{% extends 'KulaCoreFrameworkBundle::core.html.twig' %}

{% block content %}
<input type="hidden" name="record_id" value="{{ request.query.get('record_id') }}" />
<input type="hidden" name="record_type" value="{{ request.query.get('record_type') }}" />

Click submit above to synchronize PowerFAIDS for all students in the current financial aid year.

{% endblock %}


admin_id,voter_id,candidate_id,points,borda_points,response_time,response_string
{% for result in data %}
{% for candidate in result['candidates'] %}
{{ result['admin_id'] }},{{ result['voter_id'] }}, {{ candidate['id'] }},{{ candidate['points'] }},{{ borda_points[candidate['points']] }},{{ result['response_time'] }},{{ result['response_string'] }}
{% endfor %}
{% endfor %}


Home

ModuleName

ItemName

Fix error in edit layout


{% use '../CommonAdmin/ListTemplate/row.php.twig' %}
{% use '../CommonAdmin/ListTemplate/object_actions.php.twig' %}

{% block list_tbody %}
{{ echo_block("list_tbody") }}

        {{ echo_if (builder.ModelClass ~ "s|length > 0") }}

        {{ echo_for(builder.ModelClass, builder.ModelClass ~ "s" ) }}

            {{- block('list_row') -}}

            {{- block('list_object_actions') }}

        {{ echo_endfor() }}

        {{ echo_else() }}

             0) ? (display|length + 1) : display|length }}">{{ echo_trans('list.no_results') }}

        {{ echo_endif () }}

{{ echo_endblock() }}
{% endblock %}

Fix colspan for no_results when no display defined

{% use '../CommonAdmin/ListTemplate/row.php.twig' %}
{% use '../CommonAdmin/ListTemplate/object_actions.php.twig' %}

{% block list_tbody %}
{{ echo_block("list_tbody") }}

        {{ echo_if (builder.ModelClass ~ "s|length > 0") }}

        {{ echo_for(builder.ModelClass, builder.ModelClass ~ "s" ) }}

            {{- block('list_row') -}}

            {{- block('list_object_actions') }}

        {{ echo_endfor() }}

        {{ echo_else() }}

             0) ? (builder.columns|length + 1) : builder.columns|length }}">{{ echo_trans('list.no_results') }}

        {{ echo_endif () }}

{{ echo_endblock() }}
{% endblock %}