make images open in new tab
This commit is contained in:
parent
514064ce5a
commit
4c7dd44815
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<div class="attachments">
|
<div class="attachments">
|
||||||
{% for a in op.attachments.all %}
|
{% for a in op.attachments.all %}
|
||||||
<a href="{{a.source}}"><img class="thumb" src="{{a.thumb}}"></img></a>
|
<a target="_blank" href="{{a.source}}"><img class="thumb" src="{{a.thumb}}"></img></a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<pre class="postbody">{{op.message|truncate|memepost}}</pre>
|
<pre class="postbody">{{op.message|truncate|memepost}}</pre>
|
||||||
@ -38,7 +38,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="attachments">
|
<div class="attachments">
|
||||||
{% for a in reply.attachments.all %}
|
{% for a in reply.attachments.all %}
|
||||||
<a href="{{a.source}}"><img class="thumb" src="{{a.thumb}}"></img></a>
|
<a target="_blank" href="{{a.source}}"><img class="thumb" src="{{a.thumb}}"></img></a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<pre class="postbody">{{reply.message|truncate|memepost}}</pre>
|
<pre class="postbody">{{reply.message|truncate|memepost}}</pre>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="attachments">
|
<div class="attachments">
|
||||||
{% for a in post.attachments.all %}
|
{% for a in post.attachments.all %}
|
||||||
<a href="{{a.source}}"><img class="thumb" src="{{a.thumb}}"></img></a>
|
<a target="_blank" href="{{a.source}}"><img class="thumb" src="{{a.thumb}}"></img></a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<pre class="postbody">{{post.message | truncate | memepost }}</pre>
|
<pre class="postbody">{{post.message | truncate | memepost }}</pre>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<div class="attachments">
|
<div class="attachments">
|
||||||
{% for a in op.attachments.all %}
|
{% for a in op.attachments.all %}
|
||||||
<a href="{{a.source}}"><img class="thumb" src="{{a.thumb}}"></img></a>
|
<a target="_blank" href="{{a.source}}"><img class="thumb" src="{{a.thumb}}"></img></a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<pre class="postbody">{{op.message|memepost}}</pre>
|
<pre class="postbody">{{op.message|memepost}}</pre>
|
||||||
@ -31,7 +31,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="attachments">
|
<div class="attachments">
|
||||||
{% for a in reply.attachments.all %}
|
{% for a in reply.attachments.all %}
|
||||||
<a href="{{a.source}}"><img class="thumb" src="{{a.thumb}}"></img></a>
|
<a target="_blank" href="{{a.source}}"><img class="thumb" src="{{a.thumb}}"></img></a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% autoescape off %}
|
{% autoescape off %}
|
||||||
|
Reference in New Issue
Block a user