mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/pool_navigator: respect 'display underscores as spaces' setting
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
<% if (ctx.canViewPools) { %>
|
||||
<a class='<%- ctx.linkClass %>' href='<%= ctx.formatClientLink("pool", ctx.pool.id) %>'>
|
||||
<% } %>
|
||||
Pool: <%- ctx.pool.names[0] %>
|
||||
Pool: <%- ctx.getPrettyName(ctx.pool.names[0]) %>
|
||||
<% if (ctx.canViewPools) { %>
|
||||
</a>
|
||||
<% } %>
|
||||
|
@ -25,6 +25,7 @@ class PoolNavigatorControl extends events.EventTarget {
|
||||
previousPost: poolPostNearby.previousPost,
|
||||
nextPost: poolPostNearby.nextPost,
|
||||
lastPost: poolPostNearby.lastPost,
|
||||
getPrettyName: misc.getPrettyName,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user