Skip to content

Commit

Permalink
fix: directory listing with svg image
Browse files Browse the repository at this point in the history
fa385bd removed the _view suffix to url name
  • Loading branch information
fabien-michel committed May 18, 2024
1 parent 0ae797c commit 22acde2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
</td>
<td class="column-action">
{% if file.canonical_url %}
<a href="{% if 'svg' in file.mime_type %}{% url 'admin:filer_image_expand_view' file.pk %}{% else %}{{ file.canonical_url }}{% endif %}"
<a href="{% if 'svg' in file.mime_type %}{% url 'admin:filer_image_expand' file.pk %}{% else %}{{ file.canonical_url }}{% endif %}"
data-url="{{ file.canonical_url }}"
data-msg="{% trans 'URL copied to clipboard' %}"
rel="noopener noreferrer"
Expand Down

0 comments on commit 22acde2

Please sign in to comment.