@@ -0,0 +1,30 @@
|
||||
<% if (characters.length === 0) { %>
|
||||
<section class="panel">
|
||||
<p class="empty">Aucun personnage trouvé pour ce compte.</p>
|
||||
</section>
|
||||
<% } else { %>
|
||||
<% characters.forEach(function(character) { %>
|
||||
<section class="panel character-inventory-block">
|
||||
<div class="character-inventory-head">
|
||||
<div>
|
||||
<h2><%= character.display_name %></h2>
|
||||
<p class="muted character-meta">
|
||||
Niveau <%= character.level %>
|
||||
· <%= character.classLabel %>
|
||||
· <%= character.raceLabel %>
|
||||
· <%= fmt.formatMoney(character.money) %> money
|
||||
</p>
|
||||
</div>
|
||||
<% if (character.isActive) { %>
|
||||
<span class="tag tag-online">Personnage actif</span>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<%- include('inventory-panel', {
|
||||
playerInventory: character.playerInventory,
|
||||
panelTitle: null,
|
||||
embedded: true
|
||||
}) %>
|
||||
</section>
|
||||
<% }); %>
|
||||
<% } %>
|
||||
Reference in New Issue
Block a user