Fix doc link
authorColeman Watts <coleman@civicrm.org>
Sat, 22 Feb 2014 01:11:42 +0000 (20:11 -0500)
committerColeman Watts <coleman@civicrm.org>
Sat, 22 Feb 2014 01:11:42 +0000 (20:11 -0500)
templates/CRM/Admin/Page/PdfFormats.tpl

index 1c31528b4d686e8b36e08f210fd1576ff9b491f4..437e4d17d848c08334db736db59266ba92c6c8c6 100644 (file)
  +--------------------------------------------------------------------+
 *}
 {* this template is for configuring PDF Page Formats *}
-<div class="help">
-    {capture assign="messageTemplatesURL"}{crmURL p="civicrm/admin/messageTemplates" q="reset=1"}{/capture}
-    {ts 1=$messageTemplatesURL}You can configure one or more PDF Page Formats for your CiviCRM installation. PDF Page Formats may be assigned to <strong><a href="%1">Message Templates</a></strong> to use when creating PDF letters.{/ts}
-</div>
 {if $action eq 1 or $action eq 2 or $action eq 8}
    {include file="CRM/Admin/Form/PdfFormats.tpl"}
 {else}
-
+  <div class="help">
+    {capture assign="messageTemplatesURL"}{crmURL p="civicrm/admin/messageTemplates" q="reset=1"}{/capture}
+    {ts 1=$messageTemplatesURL}You can configure one or more PDF Page Formats for your CiviCRM installation. PDF Page Formats may be assigned to <strong><a href="%1">Message Templates</a></strong> to use when creating PDF letters.{/ts}
+  </div>
 {if $rows}
     <div id="ltype">
         {strip}
@@ -64,8 +63,8 @@
 {else}
     <div class="messages status no-popup">
       <div class="icon inform-icon"></div>
-        {capture assign=crmURL}{crmURL p='civicrm/admin/pdfFormats' q="action=add&reset=1"}{/capture}
-        {ts 1=$crmURL}There are no PDF Page Formats configured. You can <a href='%1'>add one</a>.{/ts}
+        {capture assign=link}href="{crmURL q="action=add&reset=1"}" class="action-item action-item-first"{/capture}
+        {ts 1=$link}There are no PDF Page Formats configured. You can <a %1>add one</a>.{/ts}
     </div>
 {/if}
     <div class="spacer"></div>