more stuff

This commit is contained in:
HRG @ SCExC 2024-06-08 11:42:27 -04:00
parent 835c5fdd66
commit d2ad994716
6 changed files with 84 additions and 50 deletions

View file

@ -6,8 +6,8 @@
<% it.routes.map(route => { %>
<li>
<a href="/workshop/<%= it.structure.id %>/route/<%= route.id %>">
<%= route.verb %> -
<%= it.structure.route_prefix %><%= route.path %>
<%= route.verb %> -
<% if (it.structure.route_prefix) { %><span class="text-gray-500"><%= it.structure.route_prefix %></span><% } %><span class="bold"><%= route.path %></span>
</a>
</li>
<% }) %>
@ -46,6 +46,7 @@
<li class="<% if (it.db?.id == db.id) { %>font-bold text-green-800<% } %>">
<a href="/workshop/<%= it.structure.id %>/db/<%= db.id %>">
<%= db.alias %>
<% if (db.is_aliased) { %>(alias)<% } %>
</a>
</li>
<% }) %>