Created
April 24, 2017 11:02
-
-
Save xmorave2/8740fbe47efbeb8cbec65213d9741e0f to your computer and use it in GitHub Desktop.
Výzva k přihlášení pro rezervaci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php // templates/RecordTab/holdingsils.phtml ?> | |
| <? if (count($holdings)): ?> | |
| <? if (($this->ils()->getHoldsMode() == 'driver' && !empty($holdings)) || $this->ils()->getTitleHoldsMode() == 'driver'): ?> | |
| <? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?> | |
| <? if (!$user): ?> | |
| <div class="alert alert-info"> | |
| <?=$this->translate("hold_profile_html2", array('%%url%%' => $this->currentPath() . '?catalogLogin=true'))?> | |
| </div> | |
| <? elseif (!$user->cat_username): ?> | |
| <div class="alert alert-info"> | |
| <?=$this->translate("hold_profile_html", array('%%url%%' => $this->currentPath() . '?catalogLogin=true'))?> | |
| </div> | |
| <? endif; ?> | |
| <? endif; ?> | |
| <? endif; ?> | |
| <? if($user): ?> | |
| <?$holdingTitleHold = $this->driver->tryMethod('getRealTimeTitleHold'); ?> | |
| <? if (!empty($holdingTitleHold)): ?> | |
| <? if($user->college == "K"): ?> | |
| <a class="btn btn-warning placehold modal-link" title="<?=$this->transEsc('Order ILL')?>" href="<?=$this->recordLink()->getRequestUrl($holdingTitleHold)?>"><i class="fa fa-flag"></i> <?=$this->transEsc('Order ILL')?></a> | |
| <? else: ?> | |
| <a class="btn btn-primary placehold modal-link" title="<?=$this->transEsc('request_place_text')?>" href="<?=$this->recordLink()->getRequestUrl($holdingTitleHold)?>"><i class="fa fa-flag"></i> <?=$this->transEsc('title_hold_place')?></a> | |
| <? endif; ?> | |
| <? endif; ?> | |
| <? endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.