{** * templates/subscription/institutionalSubscriptions.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 institutional subscriptions in journal management. * *} {strip} {assign var="pageTitle" value="manager.institutionalSubscriptions"} {assign var="pageId" value="manager.institutionalSubscriptions"} {include file="common/header.tpl"} {/strip}
{if !$dateFrom} {assign var="dateFrom" value="--"} {/if} {if !$dateTo} {assign var="dateTo" value="--"} {/if}{translate key="manager.subscriptions.institutionName"} | {translate key="manager.subscriptions.subscriptionType"} | {translate key="subscriptions.status"} | {translate key="manager.subscriptions.dateStart"} | {translate key="manager.subscriptions.dateEnd"} | {translate key="common.action"} |
{assign var=emailString value=$subscription->getUserFullName()|concat:" <":$subscription->getUserEmail():">"} {url|assign:"redirectUrl" op="subscriptions" path="institutional" escape=false} {url|assign:"url" page="user" op="email" to=$emailString|to_array redirectUrl=$redirectUrl} {$subscription->getInstitutionName()|escape} {icon name="mail" url=$url} | {$subscription->getSubscriptionTypeName()|escape} | {$subscription->getStatusString()|escape} | {if $isNonExpiring} {else}{if $subscription->isExpired()}{$subscription->getDateStart()|date_format:$dateFormatShort}{else}{$subscription->getDateStart()|date_format:$dateFormatShort}{/if}{/if} | {if $isNonExpiring}{translate key="subscriptionTypes.nonExpiring"}{else}{if $subscription->isExpired()}{$subscription->getDateEnd()|date_format:$dateFormatShort}{else}{$subscription->getDateEnd()|date_format:$dateFormatShort}{/if}{/if} | getId()}" class="action">{translate key="common.edit"}{if !$isNonExpiring} | getId()}" class="action">{translate key="manager.subscriptions.renew"}{/if} | getId()}" onclick="return confirm('{translate|escape:"jsparam" key="manager.subscriptions.confirmDelete"}')" class="action">{translate key="common.delete"} |
{translate key="manager.subscriptions.noneCreated"} | |||||
{page_info iterator=$subscriptions} | {page_links anchor="subscriptions" name="subscriptions" iterator=$subscriptions searchField=$searchField searchMatch=$searchMatch search=$search dateSearchField=$dateSearchField dateFromDay=$dateFromDay dateFromYear=$dateFromYear dateFromMonth=$dateFromMonth dateToDay=$dateToDay dateToYear=$dateToYear dateToMonth=$dateToMonth filterStatus=$filterStatus} |