mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
53 lines
1.2 KiB
Smarty
53 lines
1.2 KiB
Smarty
{*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************}
|
|
{* crmv@95157 *}
|
|
|
|
{if $ERROR}
|
|
<div>
|
|
<p style="color:red"><b>{$ERROR}</b></p>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
{if $METADATA && $METADATA.properties}
|
|
<form id="metadataForm">
|
|
<table width="100%" border="0">
|
|
<tr>
|
|
<td class="dvInnerHeader" width="50%"><b>{"FieldName"|getTranslatedString:"Settings"}</b></td>
|
|
<td class="dvInnerHeader" ><b>{"LBL_FIELD_VALUE"|getTranslatedString:"com_workflow"}</b></td>
|
|
</tr>
|
|
{foreach key=metakey item=metavalue from=$METADATA.properties}
|
|
<tr>
|
|
<td style="padding:4px;padding-left:10px">
|
|
<div class="dvtCellLabel">
|
|
{$metakey}
|
|
</div>
|
|
|
|
</td>
|
|
<td>
|
|
{if $META_EDITABLE}
|
|
{include file="EditViewUI.tpl" uitype=1 fldvalue=$metavalue fldname=$metakey}
|
|
{else}
|
|
{include file="DetailViewFields.tpl" keyid=1 keyval=$metavalue}
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
</form>
|
|
{else}
|
|
<p>No metadata</p>
|
|
{/if}
|
|
|
|
|
|
{if !$META_EDITABLE}
|
|
<script type="text/javascript">
|
|
{literal}
|
|
(function() {
|
|
jQuery('#metadataSaveButton').hide();
|
|
})();
|
|
{/literal}
|
|
</script>
|
|
{/if} |