Commit 51019fcc by benjaoming

Merge pull request #192 from jbazik/master

Use a private instance of sorl.thumbnails.
parents 2314aa00 f1560a31
{% extends "wiki/article.html" %} {% extends "wiki/article.html" %}
{% load wiki_tags i18n humanize thumbnail %} {% load wiki_tags i18n humanize wiki_thumbnails %}
{% load url from future %} {% load url from future %}
{% block wiki_pagetitle %}{% trans "Images" %}: {{ article.current_revision.title }}{% endblock %} {% block wiki_pagetitle %}{% trans "Images" %}: {{ article.current_revision.title }}{% endblock %}
......
{% extends "wiki/article.html" %} {% extends "wiki/article.html" %}
{% load wiki_tags i18n humanize thumbnail %} {% load wiki_tags i18n humanize wiki_thumbnails %}
{% load url from future %} {% load url from future %}
{% block wiki_pagetitle %}{% trans "Purge deletion" %}: {{ image }}{% endblock %} {% block wiki_pagetitle %}{% trans "Purge deletion" %}: {{ image }}{% endblock %}
......
{% load thumbnail i18n %}{% comment %} {% load wiki_thumbnails i18n %}{% comment %}
This template is used for the markdown extension that renders images and captions. This template is used for the markdown extension that renders images and captions.
NB! Watch out for line breaks, markdown might add <br />s and <p>s. NB! Watch out for line breaks, markdown might add <br />s and <p>s.
......
{% extends "wiki/article.html" %} {% extends "wiki/article.html" %}
{% load wiki_tags i18n humanize thumbnail %} {% load wiki_tags i18n humanize wiki_thumbnails %}
{% load url from future %} {% load url from future %}
{% block wiki_pagetitle %}{% trans "Replace image" %}: {{ image }}{% endblock %} {% block wiki_pagetitle %}{% trans "Replace image" %}: {{ image }}{% endblock %}
......
{% load i18n wiki_tags wiki_images_tags humanize thumbnail sekizai_tags %} {% load i18n wiki_tags wiki_images_tags humanize wiki_thumbnails sekizai_tags %}
{% load url from future %} {% load url from future %}
{% addtoblock "js" %} {% addtoblock "js" %}
......
from sorl.thumbnail.templatetags.thumbnail import register
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment