Commit f1ff683b authored by stef's avatar stef
Browse files

[fix] correct url, better name for attachments

parent d1ed046a
...@@ -56,7 +56,7 @@ $(document).ready(function() { ...@@ -56,7 +56,7 @@ $(document).ready(function() {
{% trans "Attachments" %} {% trans "Attachments" %}
<ul> <ul>
{%for a in c.attachment_set.all%} {%for a in c.attachment_set.all%}
<li><a href="{{a.storage.url}}">{{a.storage.name}}</a></li> <li><a href="{%media_url%}/{{a.storage.url}}">{{a.name}}</a></li>
{%endfor%} {%endfor%}
</ul> </ul>
</div> </div>
......
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