{** * templates/subscription/subscriptionTypes.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. * * Display list of subscription types in journal management. * *} {strip} {assign var="pageTitle" value="manager.subscriptionTypes"} {assign var="pageId" value="manager.subscriptionTypes"} {include file="common/header.tpl"} {/strip}
{iterate from=subscriptionTypes item=subscriptionType} {if $subscriptionTypes->eof()} {/if} {/iterate} {if $subscriptionTypes->wasEmpty()} {else} {/if}
 
{translate key="manager.subscriptionTypes.name"} {translate key="manager.subscriptionTypes.subscriptions"} {translate key="manager.subscriptionTypes.duration"} {translate key="manager.subscriptionTypes.cost"} {translate key="common.action"}
 
{$subscriptionType->getSubscriptionTypeName()|escape} {if $subscriptionType->getInstitutional()}{translate key="manager.subscriptionTypes.institutional"}{else}{translate key="manager.subscriptionTypes.individual"}{/if} {$subscriptionType->getDurationYearsMonths()|escape} {$subscriptionType->getCost()|string_format:"%.2f"} ({$subscriptionType->getCurrencyStringShort()}) getTypeId() dir=u}" class="action">↑ getTypeId() dir=d}" class="action">↓ | getTypeId()}" class="action">{translate key="common.edit"} | getTypeId()}" onclick="return confirm('{translate|escape:"jsparam" key="manager.subscriptionTypes.confirmDelete"}')" class="action">{translate key="common.delete"}
 
{translate key="manager.subscriptionTypes.noneCreated"}
 
{page_info iterator=$subscriptionTypes} {page_links anchor="subscriptionTypes" name="subscriptionTypes" iterator=$subscriptionTypes}
{translate key="manager.subscriptionTypes.create"}
{include file="common/footer.tpl"}