{extends 'layout_view.tpl'} {block name="title"} {title}{$title|escape}{/title} {/block} {block name="content"} {remarksbox type="warning" title="{tr}Deprecated{/tr}"} {tr}To export tracker or tracker items please{/tr} {tr}enable{/tr} {tr}and use{/tr} {tr}Tracker Tabular{/tr}. {tr}It is easy to use, optimised and far more powerful.{/tr} {tr}For complete documentation, please visit{/tr} {tr}Tracker Tabular{/tr} {icon name="documentation"} {/remarksbox} {accordion} {accordion_group title="{tr}Export Tracker Items{/tr}"}
{tr}Generic information{/tr}
{tr}Fields{/tr} {foreach from=$fields item=field}
{/foreach}
{/accordion_group} {accordion_group title="{tr}Quick Export{/tr}"}

{tr}Produce a CSV with basic formatting.{/tr}

{remarksbox type="info" title="{tr}Note{/tr}" icon="bricks"}

{tr}If you use field types such as 'User Preference', 'Relations' or 'Items list/Item link', please export your items through the next section below 'Export Tracker Items'{/tr}

{/remarksbox}
{/accordion_group} {if isset($export)} {accordion_group title="{tr}Structure{/tr}"}
{tr}Copy the definition text above and paste into the Import Structure box for a new tracker.{/tr}
{service_inline controller='tracker' action='export_fields' trackerId=$trackerId} {/accordion_group} {accordion_group title="{tr}Profile Export{/tr}"}

{tr}Produce YAML for a profile.{/tr}

{remarksbox type="info" title="{tr}New Feature{/tr}" icon="bricks"}

{tr}Please note: Experimental - work in progress{/tr}

{tr}Linked tracker and field IDs (such as those referenced in ItemLink, ItemsList field options, for instance) are not currently converted to profile object references, so will need manual replacement.{/tr}

{tr}For example: $profileobject:field_ref${/tr}

{/remarksbox}
{/accordion_group} {/if} {/accordion} {/block}