client/pool_navigator: respect 'display underscores as spaces' setting

This commit is contained in:
Eva
2023-05-17 09:47:50 +02:00
parent 745186062d
commit d59eac948b
2 changed files with 2 additions and 1 deletions

View File

@ -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>
<% } %>

View File

@ -25,6 +25,7 @@ class PoolNavigatorControl extends events.EventTarget {
previousPost: poolPostNearby.previousPost,
nextPost: poolPostNearby.nextPost,
lastPost: poolPostNearby.lastPost,
getPrettyName: misc.getPrettyName,
})
);
}