summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/village.twig4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/village.twig b/views/village.twig
index 97d65f7..c72018c 100644
--- a/views/village.twig
+++ b/views/village.twig
@@ -225,6 +225,7 @@
<table>
<thead>
<tr>
+ <th></th>
<th>Type</th>
<th>Amount</th>
<th>Build Time</th>
@@ -235,6 +236,7 @@
<tbody>
{% for unit in village.getUnits(village.id, 1, 3) %}
<tr>
+ <td><i class="icon icon-{{ unit.type|lower }}"></i></td>
<td>{{ unit.type }}</td>
<td>{{ unit.amount }}</td>
{% if not unit.isTraveling %}
@@ -280,6 +282,7 @@
<table>
<thead>
<tr>
+ <th></th>
<th>Type</th>
<th>Amount</th>
<th>Origin</th>
@@ -291,6 +294,7 @@
<tbody>
{% for unit in village.getUnits(village.id, 2) | merge(village.getUnits(village.id, 3)) %}
<tr>
+ <td><i class="icon icon-{{ unit.type|lower }}"></i></td>
<td>{{ unit.type }}</td>
<td>{{ unit.amount }}</td>
<td>{{ village.get(unit.homeVillageId).name }}</td>