CRM-14018 - Fix button IDs
authorColeman Watts <coleman@civicrm.org>
Sun, 22 Dec 2013 21:44:11 +0000 (13:44 -0800)
committerColeman Watts <coleman@civicrm.org>
Mon, 6 Jan 2014 19:10:40 +0000 (11:10 -0800)
templates/CRM/Admin/Page/RelationshipType.tpl

index 45f9f7dc451aa2d31c91b60ac36f71919e16b456..ad6a2e12b9523336d861c14bc1536b67e1d45b50 100644 (file)
@@ -37,7 +37,7 @@
 {if $rows}
 {if !($action eq 1 and $action eq 2)}
     <div class="action-link">
-      <a href="{crmURL q="action=add&reset=1"}" id="newRelationshipType" class="button"><span><div class="icon add-icon"></div>{ts}Add Relationship Type{/ts}</span></a>
+      <a href="{crmURL q="action=add&reset=1"}" class="button newRelationshipType"><span><div class="icon add-icon"></div>{ts}Add Relationship Type{/ts}</span></a>
     </div>
 {/if}
 
@@ -51,7 +51,7 @@
         <table id="options" class="display">
         <thead>
         <tr>
-          <th id="sortable">{t\function browses}Relationship A to B{/ts}</th>
+          <th id="sortable">{ts}Relationship A to B{/ts}</th>
           <th>{ts}Relationship B to A{/ts}</th>
           <th>{ts}Contact Type A{/ts}</th>
           <th>{ts}Contact Type B{/ts}</th>
@@ -78,7 +78,7 @@
 
         {if !($action eq 1 and $action eq 2)}
             <div class="action-link">
-              <a href="{crmURL q="action=add&reset=1"}" id="newRelationshipType" class="button"><span><div class="icon add-icon"></div>{ts}Add Relationship Type{/ts}</span></a>
+              <a href="{crmURL q="action=add&reset=1"}" class="button newRelationshipType"><span><div class="icon add-icon"></div>{ts}Add Relationship Type{/ts}</span></a>
             </div>
         {/if}
 </div>