Maps and misc
This commit is contained in:
@@ -7,7 +7,15 @@
|
||||
<ui-button
|
||||
state='{{swap_button_state}}'
|
||||
action='swap' params='{"ref": "{{ref}}"}'>
|
||||
{{is_current ? "You Are Here" : "Swap"}}
|
||||
{{#if occupied == "owner"}}
|
||||
You Are Here
|
||||
{{else}}
|
||||
{{#if occupied == "stranger"}}
|
||||
Occupied
|
||||
{{else}}
|
||||
Swap
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</ui-button>
|
||||
|
||||
</ui-section>
|
||||
|
||||
Reference in New Issue
Block a user