{** * templates/user/gifts.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * User gifts management page. *} {strip} {assign var="pageTitle" value="gifts.myGifts"} {include file="common/header.tpl"} {/strip} {if $acceptGiftSubscriptionPayments}
{translate key="gifts.subscriptionsDescription"}
{translate key="gifts.purchaseGiftSubscription"}
{$gift->getGiftName()|escape} | {assign var="giftStatus" value=$gift->getStatus()} {if $giftStatus == $smarty.const.GIFT_STATUS_NOT_REDEEMED} {translate key="gifts.status.notRedeemed"} {elseif $giftStatus == $smarty.const.GIFT_STATUS_REDEEMED} {translate key="gifts.status.redeemed"} {/if} | {if $giftStatus == $smarty.const.GIFT_STATUS_NOT_REDEEMED} getId()}">{translate key="gifts.redeemGift"} {elseif $giftStatus == $smarty.const.GIFT_STATUS_REDEEMED} {$gift->getDatetimeRedeemed()|escape} {else} {/if} |
{translate key="gifts.noSubscriptions"} | ||