removed unused tags from templated

This commit is contained in:
Arvind Tiwari 2018-03-09 03:35:50 +05:30
parent 77843dd2cb
commit 82b8952595
7 changed files with 12 additions and 33 deletions

View file

@ -1,4 +1,4 @@
{% load static i18n cms_tags %} {% load cms_tags %}
<div class="banner-list" id="{{ instance.html_id }}"> <div class="banner-list" id="{{ instance.html_id }}">
<div class="container"> <div class="container">

View file

@ -1,4 +1,4 @@
{% load static i18n cms_tags sekizai_tags %} {% load static cms_tags sekizai_tags %}
{% get_current_language as LANGUAGE_CODE %} {% get_current_language as LANGUAGE_CODE %}
<!DOCTYPE html> <!DOCTYPE html>

View file

@ -1,5 +1,3 @@
{% load i18n %}
<div id="{{ instance.id }}" class="full-contact-section"> <div id="{{ instance.id }}" class="full-contact-section">
<div class="intro-header-2 contact-section"> <div class="intro-header-2 contact-section">
<div class="container"> <div class="container">

View file

@ -1,5 +1,3 @@
{% load cms_tags %}
<a class="dcl-link url {% if instance.separator %}dcl-link-separator{% endif %}" href="{{ instance.target }}" {% if instance.title %}title="{{ instance.title }}"{% endif %}> <a class="dcl-link url {% if instance.separator %}dcl-link-separator{% endif %}" href="{{ instance.target }}" {% if instance.title %}title="{{ instance.title }}"{% endif %}>
{{ instance.text }} {{ instance.text }}
</a> </a>

View file

@ -1,26 +0,0 @@
{% extends "datacenterlight/base.html" %}
{% load staticfiles cms_tags sekizai_tags %}
{% block css_extra %}
<link href="{% static 'datacenterlight/css/cms.css' %}" media="screen" rel="stylesheet" type="text/css"/>
{% endblock css_extra %}
{% block title %}
{% page_attribute page_title %}
{% endblock %}
{% block content %}
<div class="dcl-header">
<div class="container">
<h1>{% page_attribute page_title %}</h1>
</div>
</div>
<div class="split-section left">
<div class="space">
<div class="container">
{% placeholder 'datacenterlight_cms_page_text' %}
</div>
</div>
</div>
{% endblock %}

View file

@ -1,4 +1,4 @@
{% load staticfiles i18n%} {% load i18n %}
<footer> <footer>
<div class="container"> <div class="container">

View file

@ -71,6 +71,15 @@
{% endfor %} {% endfor %}
</select> </select>
</div> </div>
<div class="help-block with-errors">
{% for message in messages %}
{% if 'cores' in message.tags %}
<ul class="list-unstyled"><li>
{{ message|safe }}
</li></ul>
{% endif %}
{% endfor %}
</div>
</div> </div>
<input type="hidden" name="total"> <input type="hidden" name="total">
</div> </div>