Changed ocr status display sidebar from from based to text based

This commit is contained in:
Roberto Rosario
2011-03-10 00:01:30 -04:00
parent a8e11bdc1c
commit cc6e8220c0
5 changed files with 16 additions and 26 deletions

View File

@@ -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 %}

View File

@@ -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>

View File

@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% block title %} :: {{ title }}{% endblock %}
{% block title %} :: {{ title|capfirst }}{% endblock %}
{% block content %}
{% include "generic_subtemplate.html" %}