mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
52 lines
2.2 KiB
Twig
52 lines
2.2 KiB
Twig
<div class="TableContainer">
|
|
{% if errors is not empty %}
|
|
{% for error in errors %}
|
|
<p class="error">{{ error }}</p>
|
|
{% endfor %}
|
|
{% else %}
|
|
<table class="Table1" cellpadding="0" cellspacing="0" style="background-color: {{ config.lightborder }}">
|
|
<div class="CaptionContainer">
|
|
<div class="CaptionInnerContainer">
|
|
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
<div class="Text" >{{ houseName }}</div>
|
|
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
</div>
|
|
</div>
|
|
|
|
<tr>
|
|
<td>
|
|
<div class="InnerTableContainer">
|
|
<table border="0" cellpadding="4" cellspacing="1" width="100%">
|
|
<tr style="display: inline-flex;">
|
|
<td><img src="{{ imgPath }}"></td>
|
|
<td>
|
|
{{ bedsMessage }} and has a size of <b>{{ houseSize }} square meters</b>.
|
|
|
|
{% if rentType != 'never' %}
|
|
The {{ rentType }} is <b>{{ houseRent }} gold</b> and will be debited to the bank account on <b>{{ config.lua.serverName }}</b>.
|
|
{% endif %}
|
|
<br>
|
|
|
|
{% if owner is not empty %}
|
|
The house has been rented by <b>{{ owner|raw }}</b>.
|
|
{% else %}
|
|
No one has bought this house yet.
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{% endif %}
|
|
|
|
</div>
|
|
<br><br>
|