src/Aqarmap/Bundle/NeighborhoodBundle/Resources/views/neighborhoodRatings.html.twig line 1

Open in your IDE?
  1. <div id="neighborhood-ratings">
  2.     <div class="container">
  3.         <div class="row">
  4.             {% if location.rating.overall %}
  5.             <div class="col-md-12">
  6.                 <div class="page-header">
  7.                     <h2 class="custom-header">
  8.                         {{ 'layout.neighporhood.evaluation'|trans({'%location%': location.title}, 'messages') }}<small
  9.                             class="pull-right flip"><a target="_blank"
  10.                                 href="{{ path('page_view', {'slug': 'neighborhoods-ratings-information'}) }}"><span
  11.                                     class="fa fa-info-circle" aria-hidden="true"></span></a></small></h2>
  12.                 </div>
  13.             </div><!-- end col-md-12 (page-header) -->
  14.             {% endif %}
  15.             {% if location.rating.overall %}
  16.             <div class="col-sm-4 col-xs-6">
  17.                 <div class="row">
  18.                     <div class="cols-sm-4 col-xs-6">
  19.                         <span class="icon fa fa-star pull-left flip" aria-hidden="true"></span>
  20.                     </div>
  21.                     <div class="cols-sm-7 col-xs-6">
  22.                         <p class="rating-label">{{ "neighborhoods.rating.overall"|trans }}</p>
  23.                         <p class="rating-value">{{ location.rating.overall }}</p>
  24.                     </div>
  25.                 </div>
  26.             </div>
  27.             {% endif %}
  28.             {% if location.rating.neighborhood %}
  29.             <div class="col-sm-4 col-xs-6">
  30.                 <div class="row">
  31.                     <div class="cols-sm-4 col-xs-6">
  32.                         <span class="icon fa fa-thumbs-up pull-left flip" aria-hidden="true"></span>
  33.                     </div>
  34.                     <div class="cols-sm-7 col-xs-6">
  35.                         <p class="rating-label">{{ "neighborhoods.rating.neighborhood"|trans }}</p>
  36.                         <p class="rating-value">{{ location.rating.neighborhood }}</p>
  37.                     </div>
  38.                 </div>
  39.             </div>
  40.             {% endif %}
  41.             {% if location.rating.education %}
  42.             <div class="col-sm-4 col-xs-6">
  43.                 <div class="row">
  44.                     <div class="cols-sm-4 col-xs-6">
  45.                         <span class="icon fa fa-graduation-cap pull-left flip" aria-hidden="true"></span>
  46.                     </div>
  47.                     <div class="cols-sm-7 col-xs-6">
  48.                         <p class="rating-label">{{ "neighborhoods.rating.education"|trans }}</p>
  49.                         <p class="rating-value">{{ location.rating.education }}</p>
  50.                     </div>
  51.                 </div>
  52.             </div>
  53.             {% endif %}
  54.             {% if location.rating.healthcare %}
  55.             <div class="col-sm-4 col-xs-6">
  56.                 <div class="row">
  57.                     <div class="cols-sm-4 col-xs-6">
  58.                         <span class="icon fa fa-stethoscope pull-left flip"></span>
  59.                     </div>
  60.                     <div class="cols-sm-7 col-xs-6">
  61.                         <p class="rating-label">{{ "neighborhoods.rating.healthcare"|trans }}</p>
  62.                         <p class="rating-value">{{ location.rating.healthcare }}</p>
  63.                     </div>
  64.                 </div>
  65.             </div>
  66.             {% endif %}
  67.             {% if location.rating.population %}
  68.             <div class="col-sm-4 col-xs-6">
  69.                 <div class="row">
  70.                     <div class="cols-sm-4 col-xs-6">
  71.                         <span class="icon fa fa-volume-down pull-left flip"></span>
  72.                     </div>
  73.                     <div class="cols-sm-7 col-xs-6">
  74.                         <p class="rating-label">{{ "neighborhoods.rating.population"|trans }}</p>
  75.                         <p class="rating-value">{{ location.rating.population }}</p>
  76.                     </div>
  77.                 </div>
  78.             </div>
  79.             {% endif %}
  80.             {% if location.rating.locationRate  %}
  81.             <div class="col-sm-4 col-xs-6">
  82.                 <div class="row">
  83.                     <div class="cols-sm-4 col-xs-6">
  84.                         <span class="icon fa fa-map-marker pull-left flip" aria-hidden="true"></span>
  85.                     </div>
  86.                     <div class="cols-sm-7 col-xs-6">
  87.                         <p class="rating-label">{{ "neighborhoods.rating.location"|trans }}</p>
  88.                         <p class="rating-value">{{ location.rating.locationRate }}</p>
  89.                     </div>
  90.                 </div>
  91.             </div>
  92.             {% endif %}
  93.             {% if location.rating.transportation  %}
  94.             <div class="col-sm-4 col-xs-6">
  95.                 <div class="row">
  96.                     <div class="cols-sm-4 col-xs-6">
  97.                         <span class="icon fa fa-subway pull-left flip" aria-hidden="true"></span>
  98.                     </div>
  99.                     <div class="cols-sm-7 col-xs-6">
  100.                         <p class="rating-label">{{ "neighborhoods.rating.transportation"|trans }}</p>
  101.                         <p class="rating-value">{{ location.rating.transportation }}</p>
  102.                     </div>
  103.                 </div>
  104.             </div>
  105.             {% endif %}
  106.             {% if location.rating.neighborhood %}
  107.             <div class="col-sm-4 col-xs-6">
  108.                 <div class="row">
  109.                     <div class="cols-sm-4 col-xs-6">
  110.                         <span class="icon fa fa-shopping-cart pull-left flip" aria-hidden="true"></span>
  111.                     </div>
  112.                     <div class="cols-sm-7 col-xs-6">
  113.                         <p class="rating-label">{{ "neighborhoods.rating.lifestyle"|trans }}</p>
  114.                         <p class="rating-value">{{ location.rating.lifeStyle }}</p>
  115.                     </div>
  116.                 </div>
  117.             </div>
  118.             {% endif %}
  119.         </div><!-- .row -->
  120.     </div><!-- .container -->
  121. </div><!-- end of neighborhoods-ratings -->