~homeworkprod/byceps-bungalows

b7638dffe837227c288ab1aefc0d85c966ba76dd — Jochen Kupperschmidt a month ago fae2cd4 main
Show fallback note in bungalow list if bungalow is available but cannot be booked
1 files changed, 2 insertions(+), 0 deletions(-)

M byceps/blueprints/site/bungalow/templates/site/bungalow/_list.html
M byceps/blueprints/site/bungalow/templates/site/bungalow/_list.html => byceps/blueprints/site/bungalow/templates/site/bungalow/_list.html +2 -0
@@ 37,6 37,8 @@
        <td class="nowrap number">
            {%- if article and article.quantity > 0 and is_article_available_now(article) -%}
          <a class="button color-primary" href="{{ url_for('.order', bungalow_id=bungalow.id) }}">{{ render_icon('shopping-cart') }} <span>Buchen</span></a>
            {%- else -%}
            <span class="dimmed">derzeit nicht buchbar</span>
            {%- endif -%}
        </td>
          {%- endwith %}