Permalink
Browse files

Player to alias

  • Loading branch information...
Jan Kelin
Jan Kelin committed Jan 6, 2019
1 parent c459653 commit 3325a690052fc8d4c28bcbfbd36196e843aba1f9
Showing with 4 additions and 4 deletions.
  1. +1 −1 src/players.ts
  2. +1 −1 views/layouts/main.handlebars
  3. +1 −1 views/persona.handlebars
  4. +1 −1 views/player.handlebars
@@ -125,7 +125,7 @@ router.get("/players", function(req, res) {
if (e) throw e;
res.render("players", {
data: data,
alerts: [{ text: c + " names total" }]
alerts: [{ text: c + " aliases total" }]
});
});
});
@@ -35,7 +35,7 @@
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="/personas">Tribals</a></li>
<li><a href="/players">Names</a></li>
<li><a href="/players">Aliases</a></li>
<li><a href="/servers">Servers</a></li>
<li><a href="/matches">Matches</a></li>
<li><a href="/extension">Browser extension</a></li>
@@ -3,7 +3,7 @@

{{#if names}}
<h4>
Names:
Aliases:
{{#each names}}
{{#if @key}}<span style="display: inline-block; margin-left: -4px; margin-right: 5px">,</span>{{/if}}
<a href="/player/{{urlencode _id}}">{{_id}}</a>
@@ -36,5 +36,5 @@
{{/each}}
</table>
{{else}}
Player not found
Alias not found
{{/if}}

0 comments on commit 3325a69

Please sign in to comment.