{** * templates/controllers/grid/plugins/viewPlugin.tpl * * Copyright (c) 2014-2019 Simon Fraser University * Copyright (c) 2000-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @brief View a plugin gallery plugin's details. * * @uses $plugin Plugin The plugin being displayed * @uses $statusKey string The locale string describing the plugin's install * status * @uses $statusClass string A class corresponding to the status *}
{translate key="manager.plugins.pluginGallery.latestCompatible"}
{if $installAction && ($statusClass == 'older' || $statusClass == 'notinstalled')}
{include file="linkAction/linkAction.tpl" action=$installAction contextId="pluginGallery"}
{else}
{translate key=$statusKey}
{/if} {if $statusClass != 'incompatible'}
{translate key="manager.plugins.pluginGallery.version" version=$plugin->getVersion()|escape date=$plugin->getDate()|date_format:$dateFormatShort}
{$plugin->getLocalizedReleaseDescription()|strip_unsafe_html}
{/if}

{translate key="manager.plugins.pluginGallery.summary"}

{if $plugin->getContactEmail()} {$plugin->getContactName()|escape} {else} {$plugin->getContactName()|escape} {/if}
{$plugin->getContactInstitutionName()|escape}
{$plugin->getHomepage()|escape}
{include file="controllers/revealMore.tpl" content=$plugin->getLocalizedDescription()|strip_unsafe_html}
{if $plugin->getLocalizedInstallationInstructions()}
{include file="controllers/revealMore.tpl" content=$plugin->getLocalizedInstallationInstructions()|strip_unsafe_html}
{/if}