Commit b7c12856 authored by stef's avatar stef
Browse files

[mod] removed babeldjango from templates/settings

parent a3df7e02
...@@ -106,7 +106,7 @@ TEMPLATE_LOADERS = ( ...@@ -106,7 +106,7 @@ TEMPLATE_LOADERS = (
MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware', 'django.middleware.locale.LocaleMiddleware',
'babeldjango.middleware.LocaleMiddleware', #'babeldjango.middleware.LocaleMiddleware',
'django.middleware.common.CommonMiddleware', 'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware',
...@@ -133,7 +133,7 @@ INSTALLED_APPS = ( ...@@ -133,7 +133,7 @@ INSTALLED_APPS = (
'tinymce', 'tinymce',
'registration', 'registration',
'bt', 'bt',
'babeldjango', #'babeldjango',
'captcha', 'captcha',
# Uncomment the next line to enable the admin: # Uncomment the next line to enable the admin:
'django.contrib.admin', 'django.contrib.admin',
......
{% extends "base.html" %} {% extends "base.html" %}
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{% load babel %}
{% block content %} {% block content %}
<div id='global'> <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> <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" %} {% extends "base.html" %}
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{% load babel %}
{% block styles %} {% block styles %}
<link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/jquery.autocomplete.css" /> <link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/jquery.autocomplete.css" />
{% endblock %} {% 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"> <!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}}"> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{LANGUAGE_CODE}}" xml:lang="{{LANGUAGE_CODE}}">
<head> <head>
......
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{% load babel %}
{%if obj.comment_set.all.0%} {%if obj.comment_set.all.0%}
<h3>{%trans "Description" %}</h3> <h3>{%trans "Description" %}</h3>
<div class="description-node"> <div class="description-node">
<div class="description">{{obj.comment_set.all.0.comment|safe}}</div> <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%} {%if obj.comment_set.all.0.attachment_set.all%}
<div class="attachs"> <div class="attachs">
{% trans "Attachments" %} {% trans "Attachments" %}
......
{% extends "base.html" %} {% extends "base.html" %}
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{% load babel %}
{% block styles %} {% block styles %}
<link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/jquery.autocomplete.css" /> <link rel="stylesheet" type="text/css" media="all" href="{% media_url %}/css/jquery.autocomplete.css" />
{% endblock %} {% endblock %}
...@@ -157,7 +156,7 @@ $(document).ready(function(){ ...@@ -157,7 +156,7 @@ $(document).ready(function(){
<div id="description" class='round-box'> <div id="description" class='round-box'>
{%for c in violation.comment_set.all%} {%for c in violation.comment_set.all%}
<div class="description">{{c.comment|safe}}</div> <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> </div>
{%endfor%} {%endfor%}
</div> </div>
......
{% extends "base.html" %} {% extends "base.html" %}
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{% load babel %}
{% block styles %} {% block styles %}
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
......
{% extends "base.html" %} {% extends "base.html" %}
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{% load babel %}
{% block content %} {% block content %}
<div id='global'> <div id='global'>
<p>{% trans "On the Internet, <strong>you</strong> decide what you do, right? <em>Not anymore!</em>" %}</p> <p>{% trans "On the Internet, <strong>you</strong> decide what you do, right? <em>Not anymore!</em>" %}</p>
......
{% extends "base.html" %} {% extends "base.html" %}
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{% load babel %}
{% block content %} {% block content %}
<div id='global'> <div id='global'>
<p>{% trans "Do you want to check whether your access provider is manipulating your internet traffic? Great!" %}</p> <p>{% trans "Do you want to check whether your access provider is manipulating your internet traffic? Great!" %}</p>
......
{% extends "base.html" %} {% extends "base.html" %}
{% load bt %} {% load bt %}
{% load i18n %} {% load i18n %}
{% load babel %}
{% load comments %} {% load comments %}
{% block styles %} {% block styles %}
{% endblock %} {% endblock %}
...@@ -68,7 +67,7 @@ $(document).ready(function() { ...@@ -68,7 +67,7 @@ $(document).ready(function() {
{%for c in v.comment_set.all%} {%for c in v.comment_set.all%}
<div class="description-node"> <div class="description-node">
<div class="description">{{c.comment|safe}}</div> <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%} {%if c.attachment_set.all%}
<div class="attachs"> <div class="attachs">
{% trans "Attachments" %} {% 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