Der Platzhalter ID_SAISON muss durch die ID einer Saison ersetzt werden.
{@load resource="seasons/ID_SAISON"} <div class="saisonDetail"> <h1>{name}</h1> <table class="table table-striped"> <thead> <tr> <th></th> {@gt key=lodgingTypes.length value=1} <th></th> {/gt} {#seasons} <th class="text-right"> {name|nl|s} </th> {/seasons} </tr> </thead> <tbody> {#roomCategories} {#lodgingTypes rc=.} <tr> {@if cond="{$idx} == 0"} <td rowspan="{@size key=lodgingTypes /}"><a href="{rc.id|url}">{rc.name}</a></td> {/if} {@gt key=lodgingTypes.length value=1} <td>{name}</td> {/gt} {#seasons lt=.} <td class="text-right"> {@matchOne var=minimumPrices roomCategory=rc.id season=id lodgingType=lt.id} <a onclick="Samera.Overlay.show();"> {amount|money} </a> {:else} - {/matchOne} </td> {/seasons} </tr> {/lodgingTypes} {/roomCategories} </tbody> </table> <div class="row"> <div class="col-sm-12 text-right"> <a class="btn btn-primary text-right" onclick="Samera.Overlay.show(); return false;">Jetzt anfragen</a> </div> </div> <br/> <p> Preisinfo </p> {priceInfo|t|s} </div> {/load}