src/Ox/HoardBundle/Resources/views/admin/ancientPlace/show.html.twig line 1

Open in your IDE?
  1. {% extends '@OxHoardBundle/layout.html.twig' %}
  2. {% block title %}Ancient Place {{ entity.ancientPlace }}{% endblock %}
  3. {% block body %}
  4.     <div class="marginTop clearfix"></div>
  5.     <div id="content" class="container">
  6.         <div class="row">
  7.             <h1>Ancient Place {{ entity.id }}</h1>
  8.             {% embed '@OxHoardBundle/flash.html.twig' %}{% endembed %}
  9.             <div class="hoardlistview-6col marginTop">
  10.                 <div class="datalabel">Ancient place: </div><div class="data">{{ entity.ancientPlace }}</div>
  11.                 <div class="datalabel">Latitude: </div><div class="data">{{ entity.latitude }}</div>
  12.                 <div class="datalabel">Longitude: </div><div class="data">{{ entity.longitude }}</div>
  13.                 <div class="datalabel">Pleiades link: </div><div class="data"><a href="{{ entity.uri1 }}">{{ entity.uri1 }}</a></div>
  14.                 <div class="datalabel">Wikipedia link: </div><div class="data"><a href="{{ entity.uri2 }}">{{ entity.uri2 }}</a></div>
  15.                 <div class="datalabel">Link 3: </div><div class="data"><a href="{{ entity.uri3 }}">{{ entity.uri3 }}</a></div>
  16.                 <div class="datalabel">Comment: </div><div class="data">{{ entity.placeComment }}</div>
  17.                 {% if hoards %}
  18.                 <div class="datalabel">Hoards linked to this ancient place:</div>
  19.                 <div class="data">
  20.                     {% for hoard in hoards %}
  21.                     <a href="{{ path('hoard_show', { 'id':hoard.id }) }}">
  22.                         {{ hoard }}{% if not loop.last %}, {% endif %}
  23.                     </a>
  24.                     <br>
  25.                     {% endfor %}
  26.                 </div>
  27.                 <br>
  28.                 {% endif %}
  29.                 {% if entity.deleted %}
  30.                 This entry has been deleted
  31.                 {% endif %}
  32.             </div>
  33.         </div>
  34.         
  35.         {% if isAuthenticated %}
  36.         <ul class="record_actions">
  37.             <li>
  38.                 <a href="{{ path('admin_ancientplace') }}">
  39.                     Back to the list
  40.                 </a>
  41.             </li>
  42.             {% if can_edit %}
  43.             <li>
  44.                 <a href="{{ path('admin_ancientplace_edit', { 'id': entity.id }) }}">
  45.                     Edit
  46.                 </a>
  47.             </li>
  48.             {% endif %}
  49.         </ul>
  50.         {% endif %}
  51.     </div>
  52. {% endblock %}