From 6301f63bd348109b8693a922f02e16d49205a8fd Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 9 Jan 2024 16:16:56 +0100 Subject: enable indentation for gemini templates --- views/gemini/send-resources/01-resource-types.twig | 3 ++- views/gemini/send-resources/02-villages.twig | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'views/gemini/send-resources') diff --git a/views/gemini/send-resources/01-resource-types.twig b/views/gemini/send-resources/01-resource-types.twig index 586aa1e..a71afd4 100644 --- a/views/gemini/send-resources/01-resource-types.twig +++ b/views/gemini/send-resources/01-resource-types.twig @@ -1,4 +1,5 @@ Sendable Resource Capability: {{ marketplace.getResourceCapabilities(village) }} + {% for resourceType in ['wood', 'clay', 'iron', 'food'] %} -=> /village/{{ village.x }}/{{ village.y }}/send-resources/type/{{ resourceType }} {{ resourceType }} + => /village/{{ village.x }}/{{ village.y }}/send-resources/type/{{ resourceType }} {{ resourceType }} {% endfor %} diff --git a/views/gemini/send-resources/02-villages.twig b/views/gemini/send-resources/02-villages.twig index 54ccc5c..5cc0e75 100644 --- a/views/gemini/send-resources/02-villages.twig +++ b/views/gemini/send-resources/02-villages.twig @@ -2,5 +2,5 @@ Sendable Resource Capability: {{ marketplace.getResourceCapabilities(village) }} {% for listVillage in villages %} -=> /village/{{ village.x }}/{{ village.y }}/send-resources/type/{{ selectedResourceType }}/village/{{ listVillage.x }}/{{ listVillage.y }} {{ listVillage.name }} - {{ listVillage.x }} x {{ listVillage.y }} + => /village/{{ village.x }}/{{ village.y }}/send-resources/type/{{ selectedResourceType }}/village/{{ listVillage.x }}/{{ listVillage.y }} {{ listVillage.name }} - {{ listVillage.x }} x {{ listVillage.y }} {% endfor %} -- cgit v1.2.3