display text when map name unavailable
parent
5204bdc6d5
commit
7a1b6e3f63
|
|
@ -37,7 +37,7 @@
|
||||||
<div>
|
<div>
|
||||||
<strong><%= configFunctions.getProperty("aliases.map") %></strong><br />
|
<strong><%= configFunctions.getProperty("aliases.map") %></strong><br />
|
||||||
<a href="<%= urlPrefix %>/maps/<%= lot.mapId %>">
|
<a href="<%= urlPrefix %>/maps/<%= lot.mapId %>">
|
||||||
<%= lot.mapName %>
|
<%= lot.mapName || "(No Name)" %>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-2">
|
<div class="mt-2">
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<% if (!isCreate) { %>
|
<% if (!isCreate) { %>
|
||||||
<li><a href="<%= urlPrefix %>/maps/<%= map.mapId %>"><%= map.mapName %></a></li>
|
<li><a href="<%= urlPrefix %>/maps/<%= map.mapId %>"><%= map.mapName || "(No Name)" %></a></li>
|
||||||
<% } %>
|
<% } %>
|
||||||
<li class="is-active">
|
<li class="is-active">
|
||||||
<a href="#" aria-current="page">
|
<a href="#" aria-current="page">
|
||||||
|
|
|
||||||
|
|
@ -14,14 +14,14 @@
|
||||||
</li>
|
</li>
|
||||||
<li class="is-active">
|
<li class="is-active">
|
||||||
<a href="#" aria-current="page">
|
<a href="#" aria-current="page">
|
||||||
<%= map.mapName %>
|
<%= map.mapName || "(No Name)" %>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<h1 class="title is-1">
|
<h1 class="title is-1">
|
||||||
<%= map.mapName %>
|
<%= map.mapName || "(No Name)" %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<% if (user.userProperties.canUpdate) { %>
|
<% if (user.userProperties.canUpdate) { %>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue