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