summaryrefslogtreecommitdiff
path: root/views/gemini/village.twig
diff options
context:
space:
mode:
Diffstat (limited to 'views/gemini/village.twig')
-rw-r--r--views/gemini/village.twig20
1 files changed, 18 insertions, 2 deletions
diff --git a/views/gemini/village.twig b/views/gemini/village.twig
index 21c480b..02679c1 100644
--- a/views/gemini/village.twig
+++ b/views/gemini/village.twig
@@ -24,7 +24,7 @@ Storage Capacity: {{ village.getStorage(village.id).getCapacity() }}
{% for event in typeEvents %}
### {{ event.type }}
Finished: {{ event.event.time | date('c') }}
- => /village/{{ village.x }}/{{ village.y }}/building/UpgradeBuilding/build/cancel Cancel
+ => /event/{{ event.event.id }}/cancel Cancel
{% endfor %}
{% endfor %}
{% endif %}
@@ -34,7 +34,7 @@ Storage Capacity: {{ village.getStorage(village.id).getCapacity() }}
### {{ event.type }}
Amount: {{ event.amount }}
Finished: {{ event.event.time | date('c') }}
- => /village/{{ village.x }}/{{ village.y }}/unit/train/cancel Cancel
+ => /event/{{ event.event.id }}/cancel Cancel
{% endfor %}
{% endif %}
{% if events['SendUnits'] %}
@@ -74,6 +74,22 @@ Storage Capacity: {{ village.getStorage(village.id).getCapacity() }}
{% endif %}
{% endfor %}
{% endif %}
+{% if events['SendResourcesCarriers'] %}
+ ## Send Resources Carriers
+ {% for event in events['SendResourcesCarriers'] %}
+ ### {{ village.get(event.source).name }} -> {{ village.get(event.destination).name }}
+ Source: {{ village.get(event.source).name }}
+ Destination: {{ village.get(event.destination).name }}
+ Finished: {{ event.event.time | date('c') }}
+ {% if event.isCanceled %}
+ Canceled
+ {% else %}
+ {% if event.event.villageId == village.id %}
+ => /event/{{ event.event.id }}/cancel Cancel
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
# Buildings