Commit 64fa5107 authored by Florian Fuchs's avatar Florian Fuchs

removed mailmanweb remains

parent 06408eac
dev_setup/mmtest.db
dev_setup/settings_local.py
src/postorius.egg-info
......@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License along with
# GNU Mailman. If not, see <http://www.gnu.org/licenses/>.
import mailmanweb
import postorius
from django.conf.urls.defaults import *
from django.conf import settings
......@@ -32,7 +32,7 @@ admin.autodiscover()
# from mailman_django import urls as mailman_urls
urlpatterns = patterns('',
url(r'^$', 'mailmanweb.views.list_index'),
(r'^mailmanweb/', include('mailmanweb.urls')),
url(r'^$', 'postorius.views.list_index'),
(r'^postorius/', include('postorius.urls')),
url(r'', include('social_auth.urls')),
)
......@@ -10,14 +10,14 @@ from urllib2 import HTTPError
logger = logging.getLogger(__name__)
def mailmanweb(request):
def postorius(request):
"""Add template variables to context.
"""
# extend_template (no page header/footer when requested via AJAX)
if request.is_ajax():
extend_template = "mailmanweb/base_ajax.html"
extend_template = "postorius/base_ajax.html"
else:
extend_template = "mailmanweb/base.html"
extend_template = "postorius/base.html"
return {
'MAILMAN_THEME': settings.MAILMAN_THEME,
......
......@@ -8,12 +8,12 @@
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}images/favicon.ico">
<link rel="apple-touch-icon" href="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}images/apple-touch-icon.png">
<link rel="shortcut icon" href="{{ STATIC_URL }}postorius/{{ MAILMAN_THEME }}images/favicon.ico">
<link rel="apple-touch-icon" href="{{ STATIC_URL }}postorius/{{ MAILMAN_THEME }}images/apple-touch-icon.png">
<link rel="stylesheet" href="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/css/normalize.css">
<link rel="stylesheet" href="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/css/bootstrap.css">
<link rel="stylesheet" href="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/css/style.css">
<link rel="stylesheet" href="{{ STATIC_URL }}postorius/{{ MAILMAN_THEME }}/css/normalize.css">
<link rel="stylesheet" href="{{ STATIC_URL }}postorius/{{ MAILMAN_THEME }}/css/bootstrap.css">
<link rel="stylesheet" href="{{ STATIC_URL }}postorius/{{ MAILMAN_THEME }}/css/style.css">
</head>
<body class="{% block body_class %}{% endblock %}">
......@@ -21,7 +21,7 @@
<header>
<div class="mm_header">
<div class="mm_canvas">
<a href="{% url list_index %}" class="mm_logo"><img src="{{ STATIC_URL }}/mailmanweb/default/img/mailman_logo_trans.png" alt="{% trans 'Home' %}" /></a>
<a href="{% url list_index %}" class="mm_logo"><img src="{{ STATIC_URL }}/postorius/default/img/mailman_logo_trans.png" alt="{% trans 'Home' %}" /></a>
<ul class="mm_metaNav">
<li><a class="mm_lists" href="{% url list_index %}">Lists</a></li>
{% if user.is_superuser %}
......@@ -51,10 +51,10 @@
{% block footer %}{% endblock footer %}
</div>
<script src="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/js/libs/jquery-1.7.1.min.js"></script>
<script src="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/js/libs/bootstrap.js"></script>
<script src="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/js/plugins.js"></script>
<script src="{{ STATIC_URL }}mailmanweb/{{ MAILMAN_THEME }}/js/script.js"></script>
<script src="{{ STATIC_URL }}postorius/{{ MAILMAN_THEME }}/js/libs/jquery-1.7.1.min.js"></script>
<script src="{{ STATIC_URL }}postorius/{{ MAILMAN_THEME }}/js/libs/bootstrap.js"></script>
<script src="{{ STATIC_URL }}postorius/{{ MAILMAN_THEME }}/js/plugins.js"></script>
<script src="{{ STATIC_URL }}postorius/{{ MAILMAN_THEME }}/js/script.js"></script>
{% block additionaljs %}{% endblock %}
</body>
{% extends "mailmanweb/base.html" %}
{% extends "postorius/base.html" %}
{% load i18n %}
{% block main %}
{% include 'mailmanweb/menu/settings_nav.html' %}
{% include 'postorius/menu/settings_nav.html' %}
<h1>{% trans "Domain Index" %}</h1>
<table class="table table-bordered table-striped">
......
......@@ -2,7 +2,7 @@
{% load i18n %}
{% block main %}
{% include 'mailmanweb/menu/settings_nav.html' %}
{% include 'postorius/menu/settings_nav.html' %}
<h1>{% trans "Add a new Domain" %}</h1>
<form action="{% url domain_new %}" method="post" class="well">
{{ form.as_p }}
......
{% extends "mailmanweb/base.html" %}
{% extends "postorius/base.html" %}
{% load i18n %}
{% block header %}
......
{% extends "mailmanweb/base.html" %}
{% extends "postorius/base.html" %}
{% load i18n %}
{% block body_class %}list_summary{% endblock %}
{% block main %}
{% include 'mailmanweb/menu/list_nav.html' %}
{% include 'postorius/menu/list_nav.html' %}
<h1>{{list.display_name}}</h1>
<table class="table table-bordered table-striped">
......
{% extends "mailmanweb/base.html" %}
{% extends "postorius/base.html" %}
{% load i18n %}
{% block main %}
......
{% extends "mailmanweb/base.html" %}
{% extends "postorius/base.html" %}
{% load i18n %}
{% block main %}
{% if user.is_superuser %}
{% include 'mailmanweb/menu/list_nav.html' %}
{% include 'postorius/menu/list_nav.html' %}
{% endif %}
<h1>{% trans "Mass Subscribe" %} <span>- {{list.fqdn_listname}}</span></h1>
......
{% extends "mailmanweb/base.html" %}
{% extends "postorius/base.html" %}
{% load i18n %}
{% block main %}
{% if user.is_superuser %}
{% include 'mailmanweb/menu/list_nav.html' %}
{% include 'postorius/menu/list_nav.html' %}
{% endif %}
<h1>{% trans "List metrics" %}: {{list.fqdn_listname}} </h1>
......
......@@ -2,7 +2,7 @@
{% load i18n %}
{% block main %}
{% include 'mailmanweb/menu/list_nav.html' %}
{% include 'postorius/menu/list_nav.html' %}
<h1>{{list.real_name}} <span>- {{list.fqdn_listname}}</span></h1>
<ul class="nav nav-pills">
......
{% extends "mailmanweb/base.html" %}
{% extends "postorius/base.html" %}
{% load i18n %}
{% block body_class %}list_summary{% endblock %}
{% block main %}
{% if user.is_superuser %}
{% include 'mailmanweb/menu/list_nav.html' %}
{% include 'postorius/menu/list_nav.html' %}
{% endif %}
<h1>{{list.display_name}}</h1>
......
......@@ -29,7 +29,7 @@
<form method="post" action="{% url socialauth_complete "browserid" %}">
<input type="hidden" name="assertion" value="" />
<a rel="nofollow" id="browserid" href="#"><img src="{{ STATIC_URL }}mailmanweb/default/img/sign_in_blue.png" alt="Login using BrowserID" /></a>
<a rel="nofollow" id="browserid" href="#"><img src="{{ STATIC_URL }}postorius/default/img/sign_in_blue.png" alt="Login using BrowserID" /></a>
</form>
{% endblock %}
......
......@@ -2,6 +2,6 @@
{% load i18n %}
{% block main %}
{% include 'mailmanweb/menu/settings_nav.html' %}
{% include 'postorius/menu/settings_nav.html' %}
<h1>General Settings</h1>
{% endblock main %}
......@@ -2,7 +2,7 @@
{% load i18n %}
{% block main %}
{% include 'mailmanweb/menu/user_nav.html' %}
{% include 'postorius/menu/user_nav.html' %}
<h1>{{ user }}'s List Settings</h1>
<p><strong>Mailman display name:</strong> {{ mm_user.display_name}}</p>
......
......@@ -2,7 +2,7 @@
{% load i18n %}
{% block main %}
{% include 'mailmanweb/menu/user_nav.html' %}
{% include 'postorius/menu/user_nav.html' %}
<h1>{{ user }}'s Profile</h1>
<p><strong>Mailman display name:</strong> {{ mm_user.display_name}}</p>
......
......@@ -3,7 +3,7 @@
{% block main %}
{% include 'mailmanweb/menu/user_nav.html' %}
{% include 'postorius/menu/user_nav.html' %}
<h1>Membership</h1>
{% ifequal tab "membership"%}
{% trans "Membership Settings" %}
......
......@@ -2,6 +2,6 @@
{% load i18n %}
{% block main %}
{% include 'mailmanweb/menu/user_nav.html' %}
{% include 'postorius/menu/user_nav.html' %}
<h1>Your Todos</h1>
{% endblock main %}
......@@ -21,7 +21,7 @@ from django.conf import settings
from django.conf.urls.static import static
urlpatterns = patterns('mailmanweb.views',
urlpatterns = patterns('postorius.views',
(r'^$', 'list_index'),
# /account/
url(r'^accounts/login/$', 'user_login', name='user_login'),
......
......@@ -31,7 +31,7 @@ def render_api_error(request):
"""Renders an error template.
Use if MailmanApiError is catched.
"""
return render_to_response('mailmanweb/errors/generic.html',
return render_to_response('postorius/errors/generic.html',
{'error': "REST API not found / Offline"},
context_instance=RequestContext(request))
This diff is collapsed.
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