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
51019fcc
Commit
51019fcc
authored
Aug 22, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #192 from jbazik/master
Use a private instance of sorl.thumbnails.
parents
2314aa00
f1560a31
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 @
51019fcc
{% extends "wiki/article.html" %}
{% load wiki_tags i18n humanize
thumbnail
%}
{% load wiki_tags i18n humanize
wiki_thumbnails
%}
{% load url from future %}
{% block wiki_pagetitle %}{% trans "Images" %}: {{ article.current_revision.title }}{% endblock %}
...
...
wiki/plugins/images/templates/wiki/plugins/images/purge.html
View file @
51019fcc
{% extends "wiki/article.html" %}
{% load wiki_tags i18n humanize
thumbnail
%}
{% load wiki_tags i18n humanize
wiki_thumbnails
%}
{% load url from future %}
{% block wiki_pagetitle %}{% trans "Purge deletion" %}: {{ image }}{% endblock %}
...
...
wiki/plugins/images/templates/wiki/plugins/images/render.html
View file @
51019fcc
{% load
thumbnail
i18n %}{% comment %}
{% load
wiki_thumbnails
i18n %}{% comment %}
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.
...
...
wiki/plugins/images/templates/wiki/plugins/images/revision_add.html
View file @
51019fcc
{% extends "wiki/article.html" %}
{% load wiki_tags i18n humanize
thumbnail
%}
{% load wiki_tags i18n humanize
wiki_thumbnails
%}
{% load url from future %}
{% block wiki_pagetitle %}{% trans "Replace image" %}: {{ image }}{% endblock %}
...
...
wiki/plugins/images/templates/wiki/plugins/images/sidebar.html
View file @
51019fcc
{% 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 %}
{% addtoblock "js" %}
...
...
wiki/plugins/images/templatetags/wiki_thumbnails.py
0 → 100644
View file @
51019fcc
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