{* Copyright 2011-2020 Nick Korbel This file is part of Booked Scheduler. Booked Scheduler is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Booked Scheduler is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Booked Scheduler. If not, see . *}
{assign var=h4Style value=""} {if !empty($color)} {assign var=h4Style value=" style=\"background-color:{$color};color:{$textColor};padding:5px 3px;\""} {/if}

{$resourceName}

{translate key=Close}
{assign var=class value='col-xs-6'} {if $imageUrl neq ''} {assign var=class value='col-xs-5'}
{/if}
{translate key=Description} {if $description neq ''} {$description|html_entity_decode|url2link|nl2br} {else} {translate key=NoDescriptionLabel} {/if}
{translate key=Notes} {if $notes neq ''} {$notes|html_entity_decode|url2link|nl2br} {else} {translate key=NoNotesLabel} {/if}
{translate key=Contact} {if $contactInformation neq ''} {$contactInformation} {else} {translate key=NoContactLabel} {/if}
{translate key=Location} {if $locationInformation neq ''} {$locationInformation} {else} {translate key=NoLocationLabel} {/if}
{translate key=ResourceType} {if $resourceType neq ''} {$resourceType} {else} {translate key=NoResourceTypeLabel} {/if} {if $Attributes|count > 0} {foreach from=$Attributes item=attribute}
{control type="AttributeControl" attribute=$attribute readonly=true}
{/foreach} {/if} {if $ResourceTypeAttributes && $ResourceTypeAttributes|count > 0} {foreach from=$ResourceTypeAttributes item=attribute}
{control type="AttributeControl" attribute=$attribute readonly=true}
{/foreach} {/if}
{if $minimumDuration neq ''} {translate key='ResourceMinLength' args=$minimumDuration} {else} {translate key='ResourceMinLengthNone'} {/if}
{if $maximumDuration neq ''} {translate key='ResourceMaxLength' args=$maximumDuration} {else} {translate key='ResourceMaxLengthNone'} {/if}
{if $requiresApproval} {translate key='ResourceRequiresApproval'} {else} {translate key='ResourceRequiresApprovalNone'} {/if}
{if $minimumNotice neq ''} {translate key='ResourceMinNotice' args=$minimumNotice} {else} {translate key='ResourceMinNoticeNone'} {/if}
{if $maximumNotice neq ''} {translate key='ResourceMaxNotice' args=$maximumNotice} {else} {translate key='ResourceMaxNoticeNone'} {/if}
{if $allowMultiday} {translate key='ResourceAllowMultiDay'} {else} {translate key='ResourceNotAllowMultiDay'} {/if}
{if $maxParticipants neq ''} {translate key='ResourceCapacity' args=$maxParticipants} {else} {translate key='ResourceCapacityNone'} {/if}
{if $autoReleaseMinutes neq ''}
{translate key='AutoReleaseNotification' args=$autoReleaseMinutes}
{/if} {if $isCheckInEnabled neq ''}
{translate key='RequiresCheckInNotification'}
{/if} {if $creditsEnabled}
{translate key=CreditUsagePerSlot args=$offPeakCredits}
{translate key=PeakCreditUsagePerSlot args=$peakCredits}
{/if}