Use textile_en
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Fri, 6 Dec 2013 10:31:42 +0000 (11:31 +0100)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Fri, 6 Dec 2013 10:31:42 +0000 (11:31 +0100)
requirements.txt
src/copyspeak/templates/flatpages/default.html
src/words/templates/words/word_detail.html

index 5319e8b..8459572 100644 (file)
@@ -9,7 +9,7 @@ django-piwik
 #TODO: pyScss support, for now just install sass
 
 django_cas>=2.1,<2.2
-fnpdjango<0.2
+fnpdjango>=0.1.9.1,<0.2
 
 ipython
 
index cd805b7..42a92bf 100644 (file)
@@ -1,5 +1,5 @@
 {% extends "base.html" %}
-{% load textile_pl from fnp_markup %}
+{% load textile_en from fnp_markup %}
 
 {% block title %}{{ flatpage.title }}{% endblock %}
 
@@ -7,7 +7,7 @@
 {% block body %}
 <div class="text-page-wrapper">
 <article class="text-page">
-{{ flatpage.content|textile_pl }}
+{{ flatpage.content|textile_en }}
 </article>
 </div>
 {% endblock %}
index 043bbd5..10e97c1 100755 (executable)
@@ -1,6 +1,6 @@
 {% extends "base.html" %}
 {% load static from staticfiles %}
-
+{% load textile_en from fnp_markup %}
 
 {% block title %}{{ object }}{% endblock %}
 
 
     <div class="desc-container">
         <section class="examples">
-            {{ object.examples|safe|linebreaks }}
+            {{ object.examples|textile_en }}
         </section>
 
         <section class="usage">
             <p>/used:/</p>
-            {{ object.usage|safe|linebreaks }}
+            {{ object.usage|textile_en }}
         </section>
     </div>
 
@@ -42,7 +42,7 @@
     <div class="right-desc-container">
         <section class="recommendations">
             <p>/recommendations:/</p>
-            {{ object.recommendations|safe|linebreaks }}
+            {{ object.recommendations|textile_en }}
         </section>
     </div>