templates/Public/prestataire.html.twig line 1

Open in your IDE?
  1. {% extends 'layout.html.twig' %}
  2. {% block title -%}
  3. {{- prestataire.entreprise ~ ' - '|e('html') -}}
  4. {{- prestataire.codePostal ~ ' ' -}}
  5. {{- prestataire.ville -}}
  6. {%- if categories %} -
  7. {%- for nom, cat in categories -%}
  8. {% if not loop.first %} -{% endif %} {{ nom -}}
  9. {%- endfor -%}
  10. {%- endif -%}
  11. {%- endblock %}
  12. {% block description -%}
  13. Entreprise {{ prestataire.entreprise }}
  14. {%- if categories %} -
  15. {%- for nom, cat in categories -%}
  16. {% if not loop.first %} -{% endif %} {{ nom -}}
  17. {%- endfor -%}
  18. {%- endif -%}. Obtenez 3 devis gratuits d'experts qualifiés.
  19. {% endblock %}
  20. {% block javascripts %}
  21. {{ parent() }}
  22. {% endblock %}
  23. {% block body_class %}presta-single{% endblock %}
  24. {% block breadcrumb %}
  25. <div id="breadcrumb">
  26. <div class="container">
  27. <div class="row">
  28. <ul class="col-sm-12">
  29. <li><a href="{{ path('public_index') }}">Accueil</a></li>
  30. <li><a href="{{ path('public_prestataires') }}">Annuaire des prestataires</a></li>
  31. <li class="current">{{ prestataire.entreprise }}</li>
  32. </ul>
  33. </div>
  34. </div>
  35. </div>
  36. <div style="height: 0px;overflow: hidden;">
  37. <ol itemscope itemtype="http://schema.org/BreadcrumbList">
  38. <li itemprop="itemListElement" itemscope
  39. itemtype="http://schema.org/ListItem">
  40. <a itemscope itemtype="http://schema.org/Thing"
  41. itemprop="item" href="{{ path('public_prestataires') }}" itemid="annuaire-prestataires">
  42. <span itemprop="name">Annuaire des prestataires</span>
  43. </a>
  44. <meta itemprop="position" content="1" />
  45. </li>
  46. <li itemprop="itemListElement" itemscope
  47. itemtype="http://schema.org/ListItem">
  48. <a itemscope itemtype="http://schema.org/Thing"
  49. itemprop="item" href="{{ app.request.uri }}" itemid="page-prestataire">
  50. <span itemprop="name">{{ prestataire.entreprise }}</span>
  51. </a>
  52. <meta itemprop="position" content="2" />
  53. </li>
  54. </ol>
  55. </div>
  56. {% endblock %}
  57. {% block content %}
  58. <div id="prestataire-file" class="page file container">
  59. <div>
  60. <div class="title col-sm-12">
  61. <h1>{{ prestataire.entreprise }}</h1>
  62. </div>
  63. {% embed 'Partial/fiche_prestataire.html.twig' with {'prestataire': prestataire} %}
  64. {% block title %}<h2>Entreprise</h2>{% endblock %}
  65. {% block nom %}{% endblock %}
  66. {% endembed %}
  67. </div>
  68. </div>
  69. {% endblock %}