diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-01-09 16:16:56 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-01-09 16:16:56 +0100 |
commit | 6301f63bd348109b8693a922f02e16d49205a8fd (patch) | |
tree | eda5b3bf547340c62540f64ad84c7f079803f497 /views/gemini/send-resources | |
parent | e4351601a7ced91bf5a2c516a38db714d43e6ecf (diff) |
enable indentation for gemini templates
Diffstat (limited to 'views/gemini/send-resources')
-rw-r--r-- | views/gemini/send-resources/01-resource-types.twig | 3 | ||||
-rw-r--r-- | views/gemini/send-resources/02-villages.twig | 2 |
2 files changed, 3 insertions, 2 deletions
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 %} |