From df55269a92bef101615149ee00a8b0b97b902e80 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 4 Aug 2015 09:44:54 -0400 Subject: [PATCH] Added missing template. --- .../templates/record/export-menu.phtml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 themes/jquerymobile/templates/record/export-menu.phtml diff --git a/themes/jquerymobile/templates/record/export-menu.phtml b/themes/jquerymobile/templates/record/export-menu.phtml new file mode 100644 index 00000000000..3668c1beafb --- /dev/null +++ b/themes/jquerymobile/templates/record/export-menu.phtml @@ -0,0 +1,21 @@ +<? + // Set page title. + $this->headTitle($this->translate('Export Record')); +?> +<div data-role="page" id="Record-view"> + <?=$this->mobileMenu()->header()?> + <div data-role="content"> + <?=$this->flashmessages()?> + <? $exportFormats = $this->export()->getFormatsForRecord($this->driver); if (count($exportFormats) > 0): ?> + <?=$this->transEsc('export_choose_format')?> + <ul> + <? foreach ($exportFormats as $exportFormat): ?> + <li><a rel="external" href="<?=$this->recordLink()->getActionUrl($this->driver, 'Export')?>?style=<?=$this->escapeHtml($exportFormat)?>"><?=$this->transEsc('Export to')?> <?=$this->transEsc($this->export()->getLabelForFormat($exportFormat))?></a></li> + <? endforeach; ?> + </ul> + <? else: ?> + <?=$this->transEsc('export_no_formats')?> + <? endif; ?> + </div> + <?=$this->mobileMenu()->footer()?> +</div> \ No newline at end of file -- GitLab