created forums css bundle and a forums/base.html to include it (bug 568015)

This commit is contained in:
Ricky Rosario 2010-06-04 14:34:44 -04:00 коммит произвёл James Socol
Родитель fe112ea361
Коммит a4bd5575bb
10 изменённых файлов: 14 добавлений и 12 удалений

Просмотреть файл

@ -0,0 +1,4 @@
{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "common/base.html" %}
{% set styles = ('forums',) %}
{% set scripts = ('forums',) %}

Просмотреть файл

@ -1,5 +1,5 @@
{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "common/base.html" %}
{% extends "forums/base.html" %}
{# L10n: {t} is the title of the thread. {f} if the name of the forum. #}
{% set title = _('Delete Post | {t} | {f} | Forums')|f(t=thread.title, f=forum.name) %}
{% set crumbs = [(url('forums.forums'), _('Forums')),

Просмотреть файл

@ -1,5 +1,5 @@
{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "common/base.html" %}
{% extends "forums/base.html" %}
{# L10n: {t} is the title of the thread. {f} if the name of the forum. #}
{% set title = _('Delete Thread | {t} | {f} | Forums')|f(t=thread.title, f=forum.name) %}
{% set crumbs = [(url('forums.forums'), _('Forums')),

Просмотреть файл

@ -1,5 +1,5 @@
{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "common/base.html" %}
{% extends "forums/base.html" %}
{% from "layout/errorlist.html" import errorlist %}
{# L10n: {f} if the name of the forum, {t} if the name of the thread. #}
{% set title = _('Editing a post | {t} | {f} | Forums')|f(t=thread.title,f=forum.name) %}
@ -7,7 +7,6 @@
(url('forums.threads', forum.slug), forum.name),
(url('forums.posts', forum.slug, thread.id), thread.title),
(None, _('Edit a post'))] %}
{% set scripts = ('forums',) %}
{% block content %}
<h2>{{ _('Edit a post') }}</h2>

Просмотреть файл

@ -1,5 +1,5 @@
{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "common/base.html" %}
{% extends "forums/base.html" %}
{% from "layout/errorlist.html" import errorlist %}
{# L10n: {f} is the name of the forum, {t} is the name of the thread. #}
{% set title = _('Edit thread "{t}" | {f} | Forums')|f(t=thread.title, f=forum.name) %}
@ -7,7 +7,6 @@
(url('forums.threads', forum.slug), forum.name),
(url('forums.posts', forum.slug, thread.id), thread.title),
(None, _('Edit thread'))] %}
{% set scripts = ('forums',) %}
{% block content %}
<h2>{{ _('Edit thread "{t}"')|f(t=thread.title) }}</h2>

Просмотреть файл

@ -1,5 +1,5 @@
{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "common/base.html" %}
{% extends "forums/base.html" %}
{% set title = _('Forums') %}
{% set crumbs = [(None, title)] %}

Просмотреть файл

@ -1,12 +1,11 @@
{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "common/base.html" %}
{% extends "forums/base.html" %}
{% from "layout/errorlist.html" import errorlist %}
{# L10n: {f} if the name of the forum. #}
{% set title = _('Create a new thread | {f} | Forums')|f(f=forum.name) %}
{% set crumbs = [(url('forums.forums'), _('Forums')),
(url('forums.threads', forum.slug), forum.name),
(None, _('Create a new thread'))] %}
{% set scripts = ('forums',) %}
{% block content %}
<h2>{{ _('Create a new thread') }}</h2>

Просмотреть файл

@ -1,12 +1,11 @@
{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "common/base.html" %}
{% extends "forums/base.html" %}
{% from "layout/errorlist.html" import errorlist %}
{# L10n: {t} is the title of the thread. {f} is the name of the forum. #}
{% set title = _('{t} | {f} | Forums')|f(t=thread.title, f=forum.name) %}
{% set crumbs = [(url('forums.forums'), _('Forums')),
(url('forums.threads', forum.slug), forum.name),
(None, thread.title)] %}
{% set scripts = ('forums',) %}
{% block content %}
<h2>{{ thread.title }}</h2>

Просмотреть файл

@ -1,5 +1,5 @@
{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "common/base.html" %}
{% extends "forums/base.html" %}
{# L10n: {f} is the name of the forum. #}
{% set title = _('{f} | Forums')|f(f=forum.name) %}
{% set crumbs = [(url('forums.forums'), _('Forums')), (None, forum.name)] %}

Просмотреть файл

@ -226,6 +226,8 @@ MINIFY_BUNDLES = {
'common': (
'css/main.css',
'css/sidebar.css',
),
'forums': (
'css/forums.css',
),
'search': (