summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-02 14:07:50 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-02 14:07:50 +0100
commitf621d95f89ded05a2e916c5ee363bfe75ea37482 (patch)
treeea8929d0cff7e02265cf9d49cae259ec4ae7d0f0 /views
parente5a243a52b910e35b10b26c06aa8978356b86769 (diff)
new icons
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>