2 Fehler behoben:

1.  Internet Explorer unterstützung für <main> Tag ist fehlerhaft, wurde per CSS Definituon behoben.
2.  Templates für registrierung versehntlich gelöscht, wurden im membership Modul wieder hergestellt.
This commit is contained in:
Christian Berg
2015-08-23 21:04:20 +02:00
parent 836eee983d
commit b9ec418e5e
25 changed files with 281 additions and 79 deletions

View File

@@ -15,11 +15,11 @@
{% block jumbotron_background %}{% if active_category %}{{ active_category.image.url }}{% else %}{{STATIC_URL}}img/teaser/{{current_top_page.slug}}.jpg{% endif %}{% endblock %}
{% block teaser %}<h2>
{% block teaser %}<h1>
{% trans 'Article Archive' %}
{% if active_category %} - {{active_category.name}}{% endif %}
{% if month %}{{ month|date:'F Y' }}{% elif year %}{{year}}{% endif %}
</h2>
</h1>
<div id="teaser_text">
{% if active_category %}
<p>{{ active_category.description }}</p>

View File

@@ -17,7 +17,7 @@
{% block itemscope %}itemscope itemtype="http://schema.org/Article"{% endblock %}
{% block teaser %}
<h2 itemprop="name">{{article.headline}}</h2>
<h1 itemprop="name">{{article.headline}}</h1>
<div id="teaser_text">
<ul class="info">
<li><span class="fa fa-user"></span> <strong>{% trans 'Author' %}:</strong> <a href="{% url 'membership-details' article.author %}" itemprop="author">{{article.author}}</a></li>

View File

@@ -14,7 +14,7 @@
{% block jumbotron_background %}{{STATIC_URL}}img/teaser/edit_page.jpg{% endblock %}
{% block teaser %}
{% if object.pk %}<h1>{{ page.title }}</h1>
{% if object.pk %}<h1>{% trans 'Edit' %}{{ page.title }}</h1>
{% else %}<h1>{% trans "Add Page" %}</h1>
{% endif %}
{% endblock %}