зеркало из https://github.com/mozilla/kitsune.git
created forums css bundle and a forums/base.html to include it (bug 568015)
This commit is contained in:
Родитель
fe112ea361
Коммит
a4bd5575bb
|
@ -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': (
|
||||
|
|
Загрузка…
Ссылка в новой задаче