|
5 | 5 | Benutzer: {$UserName}<br/> |
6 | 6 | Beginn: {formatdate date=$StartDate key=reservation_email}<br/> |
7 | 7 | Ende: {formatdate date=$EndDate key=reservation_email}<br/> |
8 | | - {if $ResourceNames|default:array()|count > 1} |
9 | | - Ressourcen:<br/> |
10 | | - {foreach from=$ResourceNames item=resourceName} |
11 | | - {$resourceName}<br/> |
12 | | - {/foreach} |
13 | | - {else} |
14 | | - Ressource: {$ResourceName}<br/> |
15 | | - {/if} |
16 | 8 |
|
17 | | - {if $ResourceImage} |
18 | | - <div class="resource-image"><img src="{$ScriptUrl}/{$ResourceImage}"/></div> |
| 9 | + {if $Resources|default:array()|count > 1} |
| 10 | + <strong>Ressourcen ({$Resources|default:array()|count}):</strong> <br /> |
| 11 | + {else} |
| 12 | + <strong>Ressource:</strong><br/> |
19 | 13 | {/if} |
| 14 | + {foreach from=$Resources item=resource name=resourceLoop} |
| 15 | + <strong>{$resource.name|escape}</strong><br/> |
| 16 | + {if $resource.scheduleName}<strong>Zeitplan:</strong> {$resource.scheduleName|escape}<br/>{/if} |
| 17 | + <strong>Ressourcen-ID:</strong> {$resource.id}<br/> |
| 18 | + {if $resource.location}<strong>Standort:</strong> {$resource.location|escape}<br/>{/if} |
| 19 | + {if $resource.contact}<strong>Kontakt:</strong> {$resource.contact|escape}<br/>{/if} |
| 20 | + {if $resource.description}<strong>Beschreibung:</strong> {$resource.description|escape|nl2br}<br/>{/if} |
| 21 | + {if $resource.notes}<strong>Notizen:</strong> {$resource.notes|escape|nl2br}<br/>{/if} |
| 22 | + {if $resource.resourceAdministrator}<strong>Ressourcenadministrator:</strong> {$resource.resourceAdministrator|escape}<br/>{/if} |
| 23 | + |
| 24 | + {if $resource.attributeRows|default:array()|count > 0} |
| 25 | + <strong>Ressourcendetails:</strong><br/> |
| 26 | + <table cellpadding="4" cellspacing="0" border="1" style="border-collapse: collapse; margin-top: 4px;"> |
| 27 | + {foreach from=$resource.attributeRows item=row} |
| 28 | + <tr> |
| 29 | + <th scope="row" valign="top" style="text-align: left;"><strong>{$row.label|escape}</strong></th> |
| 30 | + <td valign="top">{$row.displayValue|escape|nl2br}</td> |
| 31 | + </tr> |
| 32 | + {/foreach} |
| 33 | + </table> |
| 34 | + {/if} |
| 35 | + |
| 36 | + {if $resource.image} |
| 37 | + <div class="resource-image"><img alt="{$resource.name|escape}" src="{$ScriptUrl}/{$resource.image|escape}"/></div> |
| 38 | + {/if} |
| 39 | + |
| 40 | + {if !$smarty.foreach.resourceLoop.last}<br/>{/if} |
| 41 | + {/foreach} |
20 | 42 |
|
21 | 43 | Titel: {$Title}<br/> |
22 | 44 | Beschreibung: {$Description}<br/> |
|
0 commit comments