From f7830f299fc9009ff944b3aea656b44d83c91420 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Wed, 17 Apr 2019 11:38:04 +0100 Subject: Accessibility and images sidebar --- .../templates/wiki/plugins/images/sidebar.html | 75 ++++++++++++---------- 1 file changed, 41 insertions(+), 34 deletions(-) (limited to 'pydis_site/templates/wiki/plugins') diff --git a/pydis_site/templates/wiki/plugins/images/sidebar.html b/pydis_site/templates/wiki/plugins/images/sidebar.html index d206cbaf..3089cc85 100644 --- a/pydis_site/templates/wiki/plugins/images/sidebar.html +++ b/pydis_site/templates/wiki/plugins/images/sidebar.html @@ -55,48 +55,55 @@ function add_image(form) { {% endif %}
-
- - {% for image in images %} - {% with image.current_revision.imagerevision as revision %} - {% thumbnail revision.image "50x50" crop="center" as thumb %} - - - - - {% endthumbnail %} - {% endwith %} - {% empty %} - - - - {% endfor %} -
-

{% trans "Image id" %}: {{ image.id }}

-

- {% trans "Insert" %}
- {% if image|can_write:user %} - {% trans "Replace" %} - {% endif %} -

-
-
- {{ revision.get_filename }} -
-
{% trans "No images found for this article" %}
-
+{% for image in images %} + {% with image.current_revision.imagerevision as revision %} + {% thumbnail revision.image "100x100" crop="center" as thumb %} +
+
+ {{ revision.get_filename }} +
+
+
+ Image ID: {{ image.id }} +
+ +

+ + + + + + + {% if image|can_write:user %} + + + + + + {% endif %} +

+
+
+ {% endthumbnail %} + {% endwith %} +{% empty %} + No images found for this article +{% endfor %}

- - {% trans "Manage images" %} » + + Manage Images + + +


-- cgit v1.2.3