CRM-14015 - Extend everywhere via regex
[civicrm-core.git] / templates / CRM / Admin / Page / ParticipantStatus.tpl
index 27b1b69df2f76ecd42b118fe5098d34b6c575f6e..395cfe7cb113999bcb237e8cd824061a8a1204bf 100644 (file)
@@ -31,7 +31,8 @@
 <div class="crm-section participant-status">
   {strip}
     {* handle enable/disable actions*}
-    {include file="CRM/common/enableDisable.tpl"}
+    {include file="CRM/common/enableDisableApi.tpl"}
+    {include file="CRM/common/crmeditable.tpl"}
     <table cellpadding="0" cellspacing="0" border="0">
       <thead class="sticky">
         <th>{ts}Label{/ts}</th>
@@ -45,8 +46,8 @@
         <th></th>
       </thead>
       {foreach from=$rows item=row}
-       <tr id="row_{$row.id}" class=" crm-particpant crm-participant_{$row.id} {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
-          <td class="crm-particpant-label">{$row.label}</td>
+       <tr id="particpant_status_type-{$row.id}" class="crm-entity crm-participant_{$row.id} {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+          <td class="crm-particpant-label crm-editable" data-field="label">{$row.label}</td>
           <td class="crm-particpant-name">{$row.name} ({$row.id})</td>
           <td class="crm-particpant-class">{$row.class}</td>
           <td class="yes-no crm-participant-is_reserved">{if $row.is_reserved}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Reserved{/ts}" />{/if}</td>