{% extends 'D2CaseStudiesBundle::base.html.twig' %} {% set seo_img_path = "/uploads/case_studies/images/" ~ case_study.getBestPath ~ "?v=" ~ case_study.version %} {% if social_shares|length > 0 %} {% set built_snippets = d2_build_snippets(social_shares, route_url, case_study.title, case_study.subTitle, seo_img_path, case_study.hashTag, case_study.shareTag) %} {% endif %} {% block title %} {{ d2_sys_config('sys_orginization') }} {% trans %}Case Study{% endtrans %}: {{ case_study.title }} {% endblock title %} {% block head_seo %} {% set tag_list = d2_get_tag_list(case_study) %} {% if d2_sys_config('sys_show_social') %}{% if built_snippets['meta_data'] is defined %} {{ built_snippets['meta_data']| raw }} {% endif %}{% endif %} {% endblock head_seo %} {% block head_script_extra %} {% if d2_sys_config('sys_show_social') %}{% if built_snippets['script'] is defined %} {{ built_snippets['script']| raw }} {% endif %}{% endif %} {% endblock head_script_extra %} {% block page_header %} {% endblock page_header %} {% block content %}
Title:{{ d2_sys_config('sys_orginization') }} {% trans %}Case Study{% endtrans %}
Views:{{ case_study.watchedCnt }}
Duration:
Remaining:

{{ case_study.title }}

{{ case_study.subTitle }}

{{ case_study.titleInfo }}


{{ case_study.description|filterScript()|raw }}

This {% trans %}Case Study{% endtrans %} has been viewed {{ case_study.watchedCnt }} times.

{% if d2_sys_config('sys_show_social') %}{% if built_snippets['html'] is defined %} {{ built_snippets['html']| raw }} {% endif %}{% endif %}
{% if case_study.photos|length > 0 %}
{% for photo in case_study.photos %} {% if photo.enabled %} {% if loop.first %}
{% endif %}
PHOTO
{% if not loop.first and loop.index%5 == 0 %}
{% endif %} {% endif %} {% endfor %}

{% endif %} {% if d2_sys_config('sys_contributor_show') == true %} {% if case_study.customer is not null %} {% set customer = case_study.customer %}
{% if customer.path %} CONTRIBUTOR {% else %} EXPERT {% endif %}

{{ customer.displayName }}

{{ customer.description }}

{% endif %} {% endif %} {# COMMENTS #} {% if d2_sys_config('sys_comments_show') == true %} {% include 'D2CommentBundle::comments.html.twig' with {'comments_name': 'Case Study', 'comment_item_type': 'case_study', 'comment_item_id': case_study.id} %} {% endif %}
{% if d2_sys_config('sys_related_show') == true %}
{# RELATED VIDEO's #} {% if d2_sys_config('sys_case_study_active') == true %} {% include 'D2CaseStudiesBundle::related.html.twig' with {'exclude_related': case_study.id, 'skip': 0} %} {% endif %} {# RELATED EXPERT'S #} {% if d2_sys_config('sys_expert_active') == true %} {% include 'D2ExpertBundle::related.html.twig' with {'exclude_related': false, 'skip': 0} %} {% endif %} {# RELATED RESOURCE's #} {% if d2_sys_config('sys_collection_active') == true %} {% include 'D2ResourceBundle::related.html.twig' with {'exclude_related': false, 'skip': 0} %} {% endif %} {# RELATED COLLECTIONS #} {% if d2_sys_config('sys_collection_active') == true %} {% include 'D2CollectionBundle::related.html.twig' with {'exclude_related': false, 'skip': 0} %} {% endif %} {# RELATED NEWS #} {% if d2_sys_config('sys_news_active') == true %} {% include 'D2NewsBundle::related.html.twig' with {'exclude_related': false, 'skip': 0} %} {% endif %} {# RELATED ADVERTS #} {% if d2_sys_config('sys_smalls_active') == true %} {% include 'D2AdvertBundle::related.html.twig' with {'exclude_related': false, 'skip': 0} %} {% endif %} {% endif %}
{% endblock content %}