-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Chore #115582173] Edit deals template
- Loading branch information
1 parent
f033837
commit 5dae613
Showing
1 changed file
with
39 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,39 @@ | ||
{% extends "base.html" %} {% load static %} {% block main %} | ||
<!-- banner section --> | ||
<section class="row" id="banner-section"> | ||
<!-- popular categories --> | ||
<div class="hidden-xs col-sm-3 col-lg-2"> | ||
<h4 class="section-label">Popular Categories</h4> | ||
<ul class="category-menu label-link-list-v"> | ||
{% for category in popular_categories %} | ||
<li><a href="{% url 'deal-filter-with-slug' filter_type='category' filter_slug=category.slug %}">{{ category.name|truncatechars:30 }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
<!-- featured deals --> | ||
<div class="col-sm-9 col-lg-10"> | ||
<div class="featured-deals"> | ||
<h4 class="section-label hidden-xs">Featured Deals</h4> {% include "snippet_deal_gallery.html" with deals=featured_deals %} | ||
</div> | ||
</div> | ||
<div class="col-xs-12"> | ||
<div class="divider"></div> | ||
</div> | ||
</section> | ||
<!-- latest deals section --> | ||
<section class="row" id="latest-section"> | ||
{% autoescape off %} {{ rendered_deal_list }} {% endautoescape %} | ||
</section> | ||
{% endblock main %} | ||
{% block extended_js %} | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.js"></script> | ||
<script type="text/javascript" src="{% static 'js/location.js' %}"></script> | ||
{% endblock extended_js %} | ||
{% extends "base.html" %} | ||
{% load static %} | ||
|
||
{% block main %} | ||
<!-- banner section --> | ||
<section class="row" id="banner-section"> | ||
|
||
<!-- popular categories --> | ||
<div class="hidden-xs col-sm-3 col-lg-2"> | ||
<h4 class="section-label">Popular Categories</h4> | ||
<ul class="category-menu label-link-list-v"> | ||
{% for category in popular_categories %} | ||
<li><a href="{% url 'deal-filter-with-slug' filter_type='category' filter_slug=category.slug %}">{{ category.name|truncatechars:30 }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
|
||
<!-- featured deals --> | ||
<div class="col-sm-9 col-lg-10"> | ||
<div class="featured-deals"> | ||
<h4 class="section-label hidden-xs">Featured Deals</h4> | ||
{% include "snippet_deal_gallery.html" with deals=featured_deals %} | ||
</div> | ||
</div> | ||
|
||
<div class="col-xs-12"> | ||
<div class="divider"></div> | ||
</div> | ||
|
||
</section> | ||
|
||
<!-- latest deals section --> | ||
<section class="row" id="latest-section"> | ||
{% autoescape off %} | ||
{{ rendered_deal_list }} | ||
{% endautoescape %} | ||
</section> | ||
|
||
{% endblock main %} |