Skip to content
Snippets Groups Projects
Commit e4128789 authored by jaapjansma's avatar jaapjansma
Browse files

updated manage data processor ui

parent f8076559
No related branches found
No related tags found
No related merge requests found
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
{foreach from=$aggregateFields item=field key=alias} {foreach from=$aggregateFields item=field key=alias}
<tr> <tr>
<td>{$field}</td> <td>{$field}</td>
<td> <td class="right nowrap" style="width: 100px;">
<a href="{crmURL p="civicrm/dataprocessor/form/aggregate_field" q="reset=1&action=delete&id=`$data_processor_id`&alias=`$alias`"}">{ts}Remove{/ts}</a> <a class="crm-hover-button" href="{crmURL p="civicrm/dataprocessor/form/aggregate_field" q="reset=1&action=delete&id=`$data_processor_id`&alias=`$alias`"}">{ts}Remove{/ts}</a>
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
......
...@@ -10,10 +10,13 @@ ...@@ -10,10 +10,13 @@
{foreach from=$fields item=field} {foreach from=$fields item=field}
<tr> <tr>
<td>{$field.title} <br /><span class="description">{$field.name}</span></td> <td>{$field.title} <br /><span class="description">{$field.name}</span></td>
<td style="width: 20%">{if ($field.weight && !is_numeric($field.weight))}{$field.weight}{/if}</td> <td style="width: 60px">{if ($field.weight && !is_numeric($field.weight))}{$field.weight}{/if}</td>
<td style="width: 20%"> <td class="right nowrap" style="width: 100px;">
<a href="{crmURL p="civicrm/dataprocessor/form/field" q="reset=1&action=update&data_processor_id=`$field.data_processor_id`&id=`$field.id`"}">{ts}Edit{/ts}</a> <span class="btn-slide crm-hover-button">{ts}Configure{/ts}
<a href="{crmURL p="civicrm/dataprocessor/form/field" q="reset=1&action=delete&data_processor_id=`$field.data_processor_id`&id=`$field.id`"}">{ts}Remove{/ts}</a> <ul class="panel">
<li><a class="crm-hover-button" href="{crmURL p="civicrm/dataprocessor/form/field" q="reset=1&action=update&data_processor_id=`$field.data_processor_id`&id=`$field.id`"}">{ts}Edit{/ts}</a></li>
<li><a class="crm-hover-button" href="{crmURL p="civicrm/dataprocessor/form/field" q="reset=1&action=delete&data_processor_id=`$field.data_processor_id`&id=`$field.id`"}">{ts}Remove{/ts}</a></li>
</ul>
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
<td> <td>
{if ($filter.is_exposed)}{ts}Yes{/ts}{else}{ts}No{/ts}{/if} {if ($filter.is_exposed)}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
</td> </td>
<td style="width: 20%">{if ($filter.weight && !is_numeric($filter.weight))}{$filter.weight}{/if}</td> <td style="width: 60px">{if ($filter.weight && !is_numeric($filter.weight))}{$filter.weight}{/if}</td>
<td class="right nowrap"> <td class="right nowrap" style="width: 100px;">
<span class="btn-slide crm-hover-button">{ts}Configure{/ts} <span class="btn-slide crm-hover-button">{ts}Configure{/ts}
<ul class="panel"> <ul class="panel">
<li><a class="crm-hover-button" href="{crmURL p="civicrm/dataprocessor/form/filter" q="reset=1&action=update&data_processor_id=`$filter.data_processor_id`&id=`$filter.id`"}">{ts}Type &amp; configuration{/ts}</a></li> <li><a class="crm-hover-button" href="{crmURL p="civicrm/dataprocessor/form/filter" q="reset=1&action=update&data_processor_id=`$filter.data_processor_id`&id=`$filter.id`"}">{ts}Type &amp; configuration{/ts}</a></li>
......
...@@ -10,15 +10,17 @@ ...@@ -10,15 +10,17 @@
{foreach from=$outputs item=output} {foreach from=$outputs item=output}
<tr> <tr>
<td>{$output.type_name}</td> <td>{$output.type_name}</td>
<td style="width:20%"></td> <td style="width:60px;"></td>
<td style="width:20%"> <td class="right nowrap" style="width: 100px;">
<a href="{crmURL p="civicrm/dataprocessor/form/output" q="reset=1&action=update&data_processor_id=`$output.data_processor_id`&id=`$output.id`"}">{ts}Edit{/ts}</a> <span class="btn-slide crm-hover-button">{ts}Configure{/ts}
<a href="{crmURL p="civicrm/dataprocessor/form/output" q="reset=1&action=delete&data_processor_id=`$output.data_processor_id`&id=`$output.id`"}">{ts}Remove{/ts}</a> <ul class="panel">
<br/> <li><a class="crm-hover-button" href="{crmURL p="civicrm/dataprocessor/form/output" q="reset=1&action=update&data_processor_id=`$output.data_processor_id`&id=`$output.id`"}">{ts}Edit{/ts}</a></li>
<li><a class="crm-hover-button" href="{crmURL p="civicrm/dataprocessor/form/output" q="reset=1&action=delete&data_processor_id=`$output.data_processor_id`&id=`$output.id`"}">{ts}Remove{/ts}</a></li>
{if isset($output.navigation_url) } {if isset($output.navigation_url) }
<a href="{$output.navigation_url}">{ts}Execute{/ts}</a> <li><a class="crm-hover-button" href="{$output.navigation_url}">{ts}Execute{/ts}</a></li>
{/if} {/if}
</ul>
</span>
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
......
...@@ -12,10 +12,14 @@ ...@@ -12,10 +12,14 @@
<td>{$source.title} <br /> <td>{$source.title} <br />
<span class="description">{$source.type_name}</span> <span class="description">{$source.type_name}</span>
</td> </td>
<td style="width: 20%">{if ($source.weight && !is_numeric($source.weight))}{$source.weight}{/if}</td> <td style="width: 60px;">{if ($source.weight && !is_numeric($source.weight))}{$source.weight}{/if}</td>
<td style="width: 20%"> <td class="right nowrap" style="width: 100px;">
<a href="{crmURL p="civicrm/dataprocessor/form/source" q="reset=1&action=update&data_processor_id=`$source.data_processor_id`&id=`$source.id`"}">{ts}Edit{/ts}</a> <span class="btn-slide crm-hover-button">{ts}Configure{/ts}
<a href="{crmURL p="civicrm/dataprocessor/form/source" q="reset=1&action=delete&data_processor_id=`$source.data_processor_id`&id=`$source.id`"}">{ts}Remove{/ts}</a> <ul class="panel">
<li><a class="crm-hover-button" href="{crmURL p="civicrm/dataprocessor/form/source" q="reset=1&action=update&data_processor_id=`$source.data_processor_id`&id=`$source.id`"}">{ts}Edit{/ts}</a></li>
<li><a class="crm-hover-button" href="{crmURL p="civicrm/dataprocessor/form/source" q="reset=1&action=delete&data_processor_id=`$source.data_processor_id`&id=`$source.id`"}">{ts}Remove{/ts}</a></li>
</ul>
</span>
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment