Merge branch 'api'
[wolnelektury.git] / wolnelektury / templates / catalogue / book_detail.html
index e6cc0f4..7d0adcb 100644 (file)
                         </ul>
                     {% else %}
                         <p>
-                        {% with cs=projects.0.0 fb=projects.0.1 %}
+                        {% with projects.0.0 as cs %}
+                        {% with projects.0.1 as fb %}
                             {% if fb %}
                                 {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project funded by {{ fb }}.{% endblocktrans %}
                             {% else %}
                                 {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project.{% endblocktrans %}
                             {% endif %}
                         {% endwith %}
+                        {% endwith %}
                         </p>
                     {% endif %}
                 {% endif %}