src/Aqarmap/Bundle/ListingBundle/Resources/views/Listing/listingNav.html.twig line 1

Open in your IDE?
  1. {% set showScrapedListingControls = listing.canChangeScrapedListing() and listing.validateScrapedListingHash(app.request.get('hash')) %}
  2. {% set isNotLiveListing = listing.status !=  STATUS_LIVE_CONSTANT %}
  3. {# Scraped Listing actions #}
  4. {% if showScrapedListingControls %}
  5.     <div class="col-md-12 col-xs-12" style="text-align: center">
  6.         <input
  7.             type="button"
  8.             ng-click="editScrapedListing()"
  9.             class="btn btn-primary btn-lg"
  10.             value="{{ 'listing.edit'|trans }}"
  11.         />
  12.         <input
  13.             type="button"
  14.             ng-click="removeScrapedListing()"
  15.             class="btn btn-danger btn-lg"
  16.             value="{{ 'listing.delete'|trans }}"
  17.         />
  18.     </div>
  19. {% endif %}
  20. {# Listing status message #}
  21. {% if isNotLiveListing %}
  22.     <div class="col-sm-12 col-md-12">
  23.         <div
  24.             class="alert alert-warning"
  25.             style="background-image: url({{ asset('images/web_pattern.png') }}); background-repeat: no-repeat; height: 175px; background-position: center;"
  26.             role="alert"
  27.             >
  28.             <h3
  29.                 class="text-center"
  30.                 style="color: #c1994d; padding-top: 30px">
  31.                 {{ "listing.listing_status_message" |trans({'%listing_status%': listing.statusLabel|trans|lower}) }}
  32.             </h3>
  33.         </div>
  34.     </div>
  35. {% endif %}
  36. {# After lead is created alert #}
  37. {% if LEAD_LISTING %}
  38.     <div class="alert alert-info hidden-xs hidden-sm col-sm-12 col-md-12" ng-show="showPhoneMessage">
  39.         <span class="fa fa-info" aria-hidden="true"></span> {{ 'listing.show_phone_message'|trans }}
  40.     </div>
  41. {% endif %}