Template source: listing/details_root.html

{% load i18n %}
{% load schema_org %}
{% load price_display %}

{% block status_messaging %}
{% include "listing/status_messaging.html" %}
{% endblock %}

{# This prevents the iPhone from opening the phone dialogue twice #}
<meta name="format-detection" content="telephone=no" />
<div itemscope itemtype="{% get_schema_type listing %}">
    <section class="span12 listing-title">
      {% block listing_title %}
      <header>
        <h2 class="ellipsis"><span itemprop="name">{{ listing.title }}</span> {% price_sep listing.listing_type listing.price_type listing.price %} <strong>{% price_display listing.price listing.currency_code.iso_code 1 %} {% if listing.quantity %}{% price_type_display listing.listing_type listing.price_type listing.get_listing_type_display listing.get_price_type_display 1 %}{% endif %}</strong></h2>
      </header>
      {% endblock %}
    </section>
    <div class="row-fluid appendbottom-30">
        <section class="span9">
          {% block detail_content %}
            <div class="listing-content grey-to-white">
                {% if listing_gallery or listing.video_url %}
                    <section class="image-block">
                        {% include "listing/gallery.html" %}
                    </section>
                {% endif %}

                {% block nav_tabs %}
                <ul class="nav nav-tabs" id="listing-tabs">
                    <li class="active"><a href="#listing-tabs-description" id="listing-tabs-description-link">{% trans "Description" %}</a></li>
                    {% block map_title %}<li><a href="#listing-tabs-map" id="listing-tabs-map-link">{% trans "Map" %}</a></li>{% endblock %}
                </ul>
                {% endblock %}

                <div class="tab-content">
                    {% block tags %}
                    <div class="tab-pane fade in active" id="listing-tabs-description">
                        {% include "listing/_details_tags.html" %}
                    </div>
                    {% endblock %}
                    {% block map %}
                    <div class="tab-pane fade" id="listing-tabs-map">
                        {% include 'listing/_map.html' %}
                    </div>
                    {% endblock %}
                </div>

                <script type="text/javascript">
                  $('#listing-tabs a').click(function (e) {
                    e.preventDefault();
                    $(this).tab('show');
                  });

                  {% if show_nav_basket == "True" %}
                  $(document).ready(function (){
                      window.basket.throw_show_basket_summary_trigger();
                  });
                  {% endif %}

                </script>
            </div>
            {% endblock %}            
            {% url 'browse.views.listing.panels.activity_stream' listing.id as src %}
            {% block comments_activity_stream %}
            <div id="listing-comments" class="listing-content listings-panel no-padding appendtop-20">
                {{ rendered_comments }}
            </div>

            <div class="ad-activity-stream">
                {% include "activity_stream/panel.html" with src=src %}
            </div>
            {% endblock %}
        </section>
        {% block righthand_details %}
          {% include "listing/_details_right.html" %}
        {% endblock %}
    </div>
</div>