<commit_before>{% extends "BprsStyleBundle::layout.html.twig" %}

{% block title %}{{ 'oktothek_user_abonnements_title'|trans }}{% endblock %}
{% block nav_head%}
    {% include 'BprsStyleBundle::menu.html.twig' with {'selected': 'channels', 'dropdown': 'user_menu'} %}
{% endblock %}

{% set body_class = "clip_overview subscriptions" %}
{% block body_main %}
<header class="page-header">
    <h1>{{ 'oktothek_user_abonnements_header'|trans }}</h1>
</header>
<section>
    <h2 class="sr-only">{{ 'oktothek_user_abonnements_header'|trans}}</h2>
    {% if channels|length %}
    <div class="row pager-row">
        <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
            <div class="dropdown">
                <button class="btn btn-default dropdown-toggle" type="button" id="filter_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                    {{ 'oktothek.user_channels_filter'|trans|raw }}
                </button>
                <ul class="dropdown-menu" aria-labelledby="filter_menu">
                    <li {% if channels.isSorted('s.name') %}class="active"{% endif %}>{{ knp_pagination_sortable(channels, 'oktothek_user_channel_filter_name'|trans, 's.name') }}</li>
                    <li {% if channels.isSorted('s.updatedAt') %}class="active"{% endif %}>{{ knp_pagination_sortable(channels, 'oktothek_user_channel_filter_updatedAt'|trans, 's.updatedAt') }}</li>
                </ul>
            </div>
            <div class="hidden-xs hidden-sm col-md-6 col-lg-6 navigation">
                {{ knp_pagination_render(channels) }}
            </div>
        </div>
    </div>
    <div class="row">
    {% for channel in channels %}
        <h3><a href="{{ path('oktothek_show_series', {'uniqID': channel.series.uniqID})}}">{{ channel }}</a></h3>
        {% include 'AppBundle:default:EpisodeStack.html.twig' with {'episodes': channel.series.episodes|slice(0,4)} %}
        <a href="{{ path('user_update_abonnement', {'abonnement': channel.id})}}" class="btn btn-default edit" titel="{{ 'user_edit_subscription'|trans }}"><span class="icon circle"></span></a>
    {% endfor %}
    </div>
    <div class="navigation row">
        {{ knp_pagination_render(channels) }}
    </div><commit_msg>Abonommentansicht responsive korrigiert<commit_after>{% extends "BprsStyleBundle::layout.html.twig" %}

{% block title %}{{ 'oktothek_user_abonnements_title'|trans }}{% endblock %}
{% block nav_head%}
    {% include 'BprsStyleBundle::menu.html.twig' with {'selected': 'channels', 'dropdown': 'user_menu'} %}
{% endblock %}

{% set body_class = "clip_overview subscriptions" %}
{% block body_main %}
<header class="page-header">
    <h1>{{ 'oktothek_user_abonnements_header'|trans }}</h1>
</header>
<section class="container">
    <h2 class="sr-only">{{ 'oktothek_user_abonnements_header'|trans}}</h2>
    {% if channels|length %}
    <div class="row pager-row">
        <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
            <div class="dropdown">
                <button class="btn btn-default dropdown-toggle" type="button" id="filter_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                    {{ 'oktothek.user_channels_filter'|trans|raw }}
                </button>
                <ul class="dropdown-menu" aria-labelledby="filter_menu">
                    <li {% if channels.isSorted('s.name') %}class="active"{% endif %}>{{ knp_pagination_sortable(channels, 'oktothek_user_channel_filter_name'|trans, 's.name') }}</li>
                    <li {% if channels.isSorted('s.updatedAt') %}class="active"{% endif %}>{{ knp_pagination_sortable(channels, 'oktothek_user_channel_filter_updatedAt'|trans, 's.updatedAt') }}</li>
                </ul>
            </div>
            <div class="hidden-xs hidden-sm col-md-6 col-lg-6 navigation">
                {{ knp_pagination_render(channels) }}
            </div>
        </div>
    </div>
    <div class="row">
    {% for channel in channels %}
        <h3><a href="{{ path('oktothek_show_series', {'uniqID': channel.series.uniqID})}}">{{ channel }}</a></h3>
        {% include 'AppBundle:default:EpisodeStack.html.twig' with {'episodes': channel.series.episodes|slice(0,4)} %}
        <a href="{{ path('user_update_abonnement', {'abonnement': channel.id})}}" class="btn btn-default edit" titel="{{ 'user_edit_subscription'|trans }}"><span class="icon circle"></span></a>
    {% endfor %}
    </div>
    <div class="navigation row">
        {{ knp_pagination_render(channels) }}
    </div>
{'fraction_non_alphanumeric': 0.1855373728438744, 'fraction_numerical': 0.007076514816452897, 'mean_word_length': 3.4605522682445757, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '977216', 'n_tokens_mistral': 1573, 'n_tokens_neox': 1491, 'n_words': 256}