Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-wiki
Commits
f1560a31
Commit
f1560a31
authored
Aug 22, 2013
by
John Bazik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a private instance of sorl.thumbnails.
parent
2314aa00
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
5 deletions
+6
-5
wiki/plugins/images/templates/wiki/plugins/images/index.html
+1
-1
wiki/plugins/images/templates/wiki/plugins/images/purge.html
+1
-1
wiki/plugins/images/templates/wiki/plugins/images/render.html
+1
-1
wiki/plugins/images/templates/wiki/plugins/images/revision_add.html
+1
-1
wiki/plugins/images/templates/wiki/plugins/images/sidebar.html
+1
-1
wiki/plugins/images/templatetags/wiki_thumbnails.py
+1
-0
No files found.
wiki/plugins/images/templates/wiki/plugins/images/index.html
View file @
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 %}
...
...
wiki/plugins/images/templates/wiki/plugins/images/purge.html
View file @
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 "Purge deletion" %}: {{ image }}{% endblock %}
{% block wiki_pagetitle %}{% trans "Purge deletion" %}: {{ image }}{% endblock %}
...
...
wiki/plugins/images/templates/wiki/plugins/images/render.html
View file @
f1560a31
{% 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.
...
...
wiki/plugins/images/templates/wiki/plugins/images/revision_add.html
View file @
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 "Replace image" %}: {{ image }}{% endblock %}
{% block wiki_pagetitle %}{% trans "Replace image" %}: {{ image }}{% endblock %}
...
...
wiki/plugins/images/templates/wiki/plugins/images/sidebar.html
View file @
f1560a31
{% 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" %}
...
...
wiki/plugins/images/templatetags/wiki_thumbnails.py
0 → 100644
View file @
f1560a31
from
sorl.thumbnail.templatetags.thumbnail
import
register
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment