templates/annonces/annonce_print.inc.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
  4.   <head>
  5.     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6.     <meta http-equiv="content-script-type" content="text/javascript" />
  7.     <meta http-equiv="content-style-type" content="text/css" />
  8.     <meta http-equiv="content-language" content="fr" />
  9.     <title>
  10.         {% if annonce.titre is defined and annonce.titre %}
  11.             {{ annonce.titre }}
  12.         {% endif %}
  13.     </title>
  14.     {% if annonce.titre is defined and annonce.titre %}
  15.         <meta name="DC.Title" content="{{ annonce.titre }}" />
  16.     {% endif %}
  17.     <meta name="robots" content="index,follow" />
  18.     <meta name="DC.Language" content="fr" />
  19.     <meta name="DC.Publisher" content="theatre-contemporain.net" />
  20.     <meta name="DC.Creator" content="Grafactory.net - Association C.R.I.S." />
  21.     <link rel="stylesheet" type="text/css" href="{{ url_module }}/navigation/css/style_global.css?refresh=2" />
  22.     <link rel="stylesheet" type="text/css" href="{{ url_module }}/navigation/css/style_annonces.css?refresh=2" />
  23.     <style type="text/css">
  24.         body {
  25.             padding: 15px;
  26.             background: #fff;
  27.         }
  28.     </style>
  29.   </head>
  30. <body>
  31. {% if error_annonce is defined and error_annonce %}
  32.     {% include 'includes/result.inc.html.twig' %}
  33. {% else %}
  34.     {% if error_preview is defined and error_preview %}
  35.         {% include 'includes/result.inc.html.twig' %}
  36.     {% endif %}
  37.     <h1 id="ttann">{{ annonce.sujet }}</h1>
  38.     {% if annonce.categorie is defined and annonce.categorie is not empty %}
  39.         <h2 id="ttcat"><a href="/annonces/{{ annonce.categorie.url_clean }}/">{{ annonce.categorie.name }}</a></h2>
  40.     {% endif %}
  41.      <div id="bloc_annonces_detail">
  42.         <div id="detail_annonce">
  43.             <ul id="infos_annonce">
  44.                 <li>Postée le <strong>{{ annonce.dateinsert }}</strong> à {{ annonce.heureinsert }} par <strong>{{ annonce.nom }}</strong></li>
  45.                 {% if annonce.lieu is defined and annonce.lieu %}
  46.                     <li>Lieu : <strong>{{ annonce.lieu }}</strong>
  47.                         {% if annonce.cp is defined and annonce.cp %}({{ annonce.cp }}){% endif %}
  48.                     </li>
  49.                 {% endif %}
  50.                 {% if annonce.site is defined and annonce.site %}
  51.                     <li>Site Internet : <strong>{{ annonce.site }}</strong></li>
  52.                 {% endif %}
  53.             </ul>
  54.             
  55.             <div id="annonces_descrip">{{ annonce.description|raw }}</div>
  56.             <div id="infosplus">
  57.                 {% if annonce.typecontrat is defined and annonce.typecontrat %}
  58.                 <div id="typecontrattxt"><span class="gris">Type de contrat</span> : {{ annonce.typecontrat }}</div>
  59.                 {% endif %}
  60.                 {% if annonce.adresse %}
  61.                     <div id="adresse"><span class="gris">Adresse postale : </span>{{ annonce.adresse }} / {{ annonce.cp }}
  62.                         {% if annonce.lieu is defined and annonce.lieu %}/ {{ annonce.lieu }}{% endif %} / {{ annonce.pays }}
  63.                     </div>
  64.                 {% endif %}
  65.             </div>
  66.             {% if annonce.dateupdate is defined and annonce.dateupdate %}
  67.                 <div id="update_ann">Cette annonce a été modifiée le {{ annonce.dateupdate }} à {{ annonce.heureupdate }}</div>
  68.             {% endif %}
  69.             
  70.         </div>
  71.      </div>
  72. {% endif %}
  73.     <div class="spacer" style="margin: 10px;">&nbsp;</div>
  74. <div>
  75.     Annonce {{ annonce.idannonce }} publié sur <a href="{{ app.request.server.get('URL_THNET') }}">theatre-contemporain.net</a>
  76. </div>
  77. </body>
  78. </html>