Commit b7c12856 authored by stef's avatar stef

[mod] removed babeldjango from templates/settings

parent a3df7e02
......@@ -106,7 +106,7 @@ TEMPLATE_LOADERS = (
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'babeldjango.middleware.LocaleMiddleware',
#'babeldjango.middleware.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
......@@ -133,7 +133,7 @@ INSTALLED_APPS = (
'tinymce',
'registration',
'bt',
'babeldjango',
#'babeldjango',
'captcha',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
......
{% extends "base.html" %}
{% load bt %}
{% load i18n %}
{% load babel %}
{% block content %}
<div id='global'>
<p>{% trans "RespectMyNet.eu is an online platform enabling citizens to become the watchmen of the Internet by reporting Net Neutrality violations. Everyone is invited to report undue blocking or throttling of their Internet access, and help name and shame operators' harmful practices." %}</p>
......
{% extends "base.html" %}
{% load bt %}
{% load i18n %}
{% load babel %}
{% block styles %}
<link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/jquery.autocomplete.css" />
{% endblock %}
......
{% load i18n %}{% load babel %}{% load bt %}<?xml version="1.0" encoding="utf-8"?>
{% load i18n %}{% load bt %}<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{LANGUAGE_CODE}}" xml:lang="{{LANGUAGE_CODE}}">
<head>
......
{% load bt %}
{% load i18n %}
{% load babel %}
{%if obj.comment_set.all.0%}
<h3>{%trans "Description" %}</h3>
<div class="description-node">
<div class="description">{{obj.comment_set.all.0.comment|safe}}</div>
<span class="submitter">Submitter: {%if obj.comment_set.all.0.submitter_name%}{{obj.comment_set.all.0.submitter_name}}{%else%}{{obj.comment_set.all.0.submitter_email}}{%endif%}</span> - <span class="comment_date">{{obj.comment_set.all.0.timestamp|datetimefmt:"short" }}</span>
<span class="submitter">Submitter: {%if obj.comment_set.all.0.submitter_name%}{{obj.comment_set.all.0.submitter_name}}{%else%}{{obj.comment_set.all.0.submitter_email}}{%endif%}</span> - <span class="comment_date">{{obj.comment_set.all.0.timestamp|date:"SHORT_DATE_FORMAT" }}</span>
{%if obj.comment_set.all.0.attachment_set.all%}
<div class="attachs">
{% trans "Attachments" %}
......
{% extends "base.html" %}
{% load bt %}
{% load i18n %}
{% load babel %}
{% block styles %}
<link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/jquery.autocomplete.css" />
{% endblock %}
......@@ -157,7 +156,7 @@ $(document).ready(function(){
<div id="description" class='round-box'>
{%for c in violation.comment_set.all%}
<div class="description">{{c.comment|safe}}</div>
<span class="submitter">{%if c.submitter_name%}{{c.submitter_name}}{%else%}{{c.submitter_email}}{%endif%}</span> - <span class="comment_date">{{c.timestamp|datetimefmt:"short" }}</span>
<span class="submitter">{%if c.submitter_name%}{{c.submitter_name}}{%else%}{{c.submitter_email}}{%endif%}</span> - <span class="comment_date">{{c.timestamp|date:"SHORT_DATE_FORMAT" }}</span>
</div>
{%endfor%}
</div>
......
{% extends "base.html" %}
{% load bt %}
{% load i18n %}
{% load babel %}
{% block styles %}
{% endblock %}
{% block scripts %}
......
{% extends "base.html" %}
{% load bt %}
{% load i18n %}
{% load babel %}
{% block content %}
<div id='global'>
<p>{% trans "On the Internet, <strong>you</strong> decide what you do, right? <em>Not anymore!</em>" %}</p>
......
{% extends "base.html" %}
{% load bt %}
{% load i18n %}
{% load babel %}
{% block content %}
<div id='global'>
<p>{% trans "Do you want to check whether your access provider is manipulating your internet traffic? Great!" %}</p>
......
{% extends "base.html" %}
{% load bt %}
{% load i18n %}
{% load babel %}
{% load comments %}
{% block styles %}
{% endblock %}
......@@ -68,7 +67,7 @@ $(document).ready(function() {
{%for c in v.comment_set.all%}
<div class="description-node">
<div class="description">{{c.comment|safe}}</div>
<span class="submitter">{%if c.submitter_name%}{{c.submitter_name}}{%else%}{{c.submitter_email}}{%endif%}</span> - <span class="comment_date">{{c.timestamp|datetimefmt:"short" }}</span>
<span class="submitter">{%if c.submitter_name%}{{c.submitter_name}}{%else%}{{c.submitter_email}}{%endif%}</span> - <span class="comment_date">{{c.timestamp|date:"SHORT_DATE_FORMAT" }}</span>
{%if c.attachment_set.all%}
<div class="attachs">
{% trans "Attachments" %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment