Changed ocr status display sidebar from from based to text based
This commit is contained in:
@@ -29,9 +29,15 @@
|
||||
{% with subtemplate.object_name as object_name %}
|
||||
{% with subtemplate.form_action as form_action %}
|
||||
{% with subtemplate.form as form %}
|
||||
|
||||
{% with subtemplate.content as content %}
|
||||
{% with subtemplate.paragraphs as paragraphs %}
|
||||
|
||||
{% include subtemplate.name %}
|
||||
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
{% if side_bar %}
|
||||
<div class="block">
|
||||
<h3>{{ title }}</h3>
|
||||
<div class="content">
|
||||
<h3>{{ title|capfirst }}</h3>
|
||||
<div class="content">
|
||||
{% else %}
|
||||
<div class="content">
|
||||
<h2 class="title">{{ title }}</h2>
|
||||
<div class="inner">
|
||||
<h2 class="title">{{ title|capfirst }}</h2>
|
||||
<div class="inner">
|
||||
{% endif %}
|
||||
|
||||
{% if content %}
|
||||
<p>{{ content }}</p>
|
||||
<p>{{ content|safe }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% for paragraph in paragraphs %}
|
||||
<p>{{ paragraph }}</p>
|
||||
<p>{{ paragraph|safe }}</p>
|
||||
{% endfor %}
|
||||
|
||||
</div></div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %} :: {{ title }}{% endblock %}
|
||||
{% block title %} :: {{ title|capfirst }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "generic_subtemplate.html" %}
|
||||
|
||||
Reference in New Issue
Block a user