Fixed broken markup

development
Andriy Kushnir (Orhideous) 2017-02-21 17:08:03 +02:00
parent 4d8162c22f
commit 3b8deceaa9
No known key found for this signature in database
GPG Key ID: C5234D755464EDA6
3 changed files with 17 additions and 16 deletions

View File

@ -2,5 +2,7 @@
import sys
if __name__ == "__main__":
# import pydevd
# pydevd.settrace('localhost', port=31337, stdoutToServer=True, stderrToServer=True)
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)

View File

@ -4,19 +4,18 @@
<blockquote>{{ chapter.notes_as_html }}</blockquote>
{% endif %}
{{ chapter.text_as_html }}
<div class="row">
{% if prev_chapter %}
<div class="col-md-6">
<a href="{% url 'chapter_view_single' story.id prev_chapter.order %}">Назад</a>
</div>
{% endif %}
{% if next_chapter %}
<div class="col-md-6">
<a href="{% url 'chapter_view_single' story.id next_chapter.order %}">Вперёд</a>
</div>
{% endif %}
</div>
{% elif not story.finished and not story.freezed and not allchapters %}
<p><strong>Продолжение следует...</strong></p>
{% endif %}
<div class="row">
{% if prev_chapter %}
<div class="col-md-6">
<a href="{% url 'chapter_view_single' story.id prev_chapter.order %}">Назад</a>
</div>
{% endif %}
{% if next_chapter %}
<div class="col-md-6">
<a href="{% url 'chapter_view_single' story.id next_chapter.order %}">Вперёд</a>
</div>
{% elif not story.finished and not story.freezed and not allchapters %}
<p><strong>Продолжение следует...</strong></p>
{% endif %}
</div>
</div>

View File

@ -363,7 +363,7 @@ commands:
description: Django management tool
container: uwsgi-dev
environ:
PYTHONPATH: /config/python
PYTHONPATH: /config/python:/work/debug/pycharm-debug.egg
DJANGO_SETTINGS_MODULE: app
run:
- python3