mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client: Reimplement post source functionality
This commit is contained in:
@ -58,6 +58,16 @@
|
||||
</section>
|
||||
<% } %>
|
||||
|
||||
<% if (ctx.canEditPostSource) { %>
|
||||
<section class='post-source'>
|
||||
<%= ctx.makeTextInput({
|
||||
text: 'Source',
|
||||
name: 'source',
|
||||
value: ctx.post.source,
|
||||
}) %>
|
||||
</section>
|
||||
<% } %>
|
||||
|
||||
<% if (ctx.canEditPostTags) { %>
|
||||
<section class='tags'>
|
||||
<%= ctx.makeTextInput({}) %>
|
||||
|
@ -38,6 +38,14 @@
|
||||
<a href class='fit-both'>both</a>
|
||||
</section>
|
||||
|
||||
<% if (ctx.post.source) { %>
|
||||
<section class='source'>
|
||||
Source: <a href='<%- ctx.post.source %>' title='<%- ctx.post.source %>'>
|
||||
<%- ctx.post.prettyPrintSource() %>
|
||||
</a>
|
||||
</section>
|
||||
<% } %>
|
||||
|
||||
<section class='search'>
|
||||
Search on
|
||||
<a href='http://iqdb.org/?url=<%- encodeURIComponent(ctx.post.fullContentUrl) %>'>IQDB</a> ·
|
||||
|
Reference in New Issue
Block a user