Remove the sidebar while in the forums and fix breadcrumbs
This commit is contained in:
@@ -1,2 +1,14 @@
|
||||
{% extends "base_simple.html" %}
|
||||
{% extends "base_full.html" %}
|
||||
{% block sectiontitle %}Forums{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<div id="content">
|
||||
<div class="grid_12">
|
||||
<div class="item">
|
||||
{% block content %}
|
||||
{% endblock content %}
|
||||
<br style="clear:both"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -1,10 +1,12 @@
|
||||
{% extends "forum_base.html" %}
|
||||
|
||||
{% block breadcrumb %}
|
||||
<a href="{% url forums.views.index%}">Forums</a>
|
||||
Home
|
||||
{%for f in forum.get_ancestors %}
|
||||
> <a href="{{f.get_relative_url}}">{{f}}</a>
|
||||
> <a href="{{f.get_absolute_url}}">{{f}}</a>
|
||||
{%endfor%}
|
||||
> <a href="{{forum.get_absolute_url}}">{{forum}}</a>
|
||||
> New Topic
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "forum_base.html" %}
|
||||
{%block content%}
|
||||
<div class="item">
|
||||
<h2>Replying to:</h2>
|
||||
@@ -12,3 +12,13 @@
|
||||
</form>
|
||||
</div>
|
||||
{%endblock%}
|
||||
|
||||
{%block breadcrumb %}
|
||||
Home
|
||||
{%for f in post.topic.forum.get_ancestors%}
|
||||
> <a href="{{f.get_absolute_url}}">{{f}}</a>
|
||||
{%endfor%}
|
||||
> <a href="{{post.topic.forum.get_absolute_url}}">{{post.topic.forum}}</a>
|
||||
> <a href="{{post.topic.get_absolute_url}}">{{post.topic}}</a>
|
||||
> Reply
|
||||
{%endblock%}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "base_with_nav.html" %}
|
||||
{% extends "forum_base.html" %}
|
||||
{% load minecraft %}
|
||||
{% load mptt_tags %}
|
||||
|
||||
|
Reference in New Issue
Block a user