Stud.IP
trunk Revision
|
Variables | |
if | (count($blocks)===0) (sprintf(implode('< br >', [_( 'Derzeit sind keine Sprechstundentermine eingetragen.'), '< a href="%s" class="button" data-dialog="size=auto">%s</a >',]), $controller->create(), _( 'Sprechstundenblöcke anlegen'))) -> hideClose() ?><? else:?>< form action="#" method="post">< table class="default">< colgroup >< col width="10%">< col width="10%">< col >< col width="48px"></colgroup >< thead >< tr >< th ><?=_( 'Uhrzeit') ?></th >< th ><?=_( 'Status') ?></th >< th ><?=_( 'Informationen') ?></th >< th ></th ></tr ></thead ><? foreach( $blocks as $block):?>< tbody id="block-<?= htmlReady($block->id) ?>">< tr >< th colspan="3"><?=$this->render_partial( 'consultation/block-description.php', compact( 'block')) ?></th >< th class="actions"><?=ActionMenu::get() ->addLink( $controller->edit_roomURL( $block), _( 'Raum bearbeiten'), Icon::create( 'edit'), [ 'data-dialog'=> 'size=auto']) ->addLink( $controller->noteURL( $block), _( 'Anmerkung bearbeiten'), Icon::create( 'edit'), [ 'data-dialog'=> 'size=auto']) ->addLink( $controller->url_for("consultation/export/print/ |
if _('Druckansicht anzeigen') Icon::create('print')[ 'target'=> '_blank'] condition($block->has_bookings) -> addLink($controller->cancel_blockURL($block), _('Sprechstundentermine absagen'), Icon::create('consultation+remove'), ['data-dialog'=> 'size=auto']) ->condition(! $block->has_bookings) ->addButton('remove', _('Sprechstundentermine entfernen'), Icon::create('trash'), ['formaction'=> $controller->removeURL($block), 'data-confirm'=> _('Wollen Sie diese Sprechtstundentermine wirklich löschen?'),]) ?></th ></tr ><? foreach($block->slots as $slot):?>< tr >< td ><?=strftime('%R', $slot->start_time) ?> -<?=strftime('%R', $slot->end_time) ?></td >< td ><?=$this->render_partial('consultation/slot-occupation.php', compact('slot')) ?></td >< td ><? if(! $slot->note &&count($slot->bookings)===0)<? else:?><? if( $slot-> | note |
endforeach | |
endif | |
if (count( $blocks)===0)(sprintf(implode('< br >', [_('Derzeit sind keine Sprechstundentermine eingetragen.'), '< a href="%s" class="button" data-dialog="size=auto">%s</a >',]), $controller->create(), _('Sprechstundenblöcke anlegen'))) -> hideClose() ?><? else:?>< form action="#" method="post">< table class="default">< colgroup >< col width="10%">< col width="10%">< col >< col width="48px"></colgroup >< thead >< tr >< th ><?=_('Uhrzeit') ?></th >< th ><?=_('Status') ?></th >< th ><?=_('Informationen') ?></th >< th ></th ></tr ></thead ><? foreach($blocks as $block):?>< tbody id="block-<?= htmlReady($block->id) ?>">< tr >< th colspan="3"><?=$this->render_partial('consultation/block-description.php', compact('block')) ?></th >< th class="actions"><?=ActionMenu::get() ->addLink($controller->edit_roomURL($block), _('Raum bearbeiten'), Icon::create('edit'), ['data-dialog'=> 'size=auto']) ->addLink($controller->noteURL($block), _('Anmerkung bearbeiten'), Icon::create('edit'), ['data-dialog'=> 'size=auto']) ->addLink($controller->url_for("consultation/export/print/ |
endforeach |
endif |
if _ ( 'Druckansicht anzeigen') Icon::create ( 'print')['target' => '_blank'] condition ( $block->has_bookings) -> addLink( $controller->cancel_blockURL( $block), _( 'Sprechstundentermine absagen'), Icon::create( 'consultation+remove'), [ 'data-dialog'=> 'size=auto']) ->condition(! $block->has_bookings) ->addButton( 'remove', _( 'Sprechstundentermine entfernen'), Icon::create( 'trash'), [ 'formaction'=> $controller->removeURL( $block), 'data-confirm'=> _( 'Wollen Sie diese Sprechtstundentermine wirklich löschen?'),]) ?></th ></tr ><? foreach( $block->slots as $slot):?>< tr >< td ><?=strftime('%R', $slot->start_time) ?> -<?=strftime('%R', $slot->end_time) ?></td >< td ><?=$this->render_partial( 'consultation/slot-occupation.php', compact( 'slot')) ?></td >< td ><? if(! $slot->note &&count( $slot->bookings)===0)<? else: ?><? if ($slot-> note |