Files
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

37 lines
2.2 KiB
Smarty

{*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.2
* ("License.txt"); You may not use this file except in compliance with the License
* The Original Code is: Vtiger CRM Open Source
* The Initial Developer of the Original Code is Vtiger.
* Portions created by Vtiger are Copyright (C) Vtiger.
* All Rights Reserved.
************************************************************************************}
{literal}
<div ng-class="{'col-lg-5 col-md-5 col-sm-12 col-xs-12 leftEditContent':splitContentView, 'col-lg-12 col-md-12 col-sm-12 col-xs-12 leftEditContent nosplit':!splitContentView}">
<div class="container-fluid">
<div class="row">
<div class="row detailRow" ng-hide="fieldname=='id' || fieldname=='identifierName' || fieldname=='{{header}}' || fieldname=='documentExists' || fieldname=='referenceFields'" ng-repeat="(fieldname, value) in record">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<label class="fieldLabel" translate="{{fieldname}}"> {{fieldname}} </label>
</div>
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<!-- <span class="label label-default">{{value}}</span> -->
<span style="white-space: pre-line;" class="value detail-break">{{value}}</span>
</div>
</div>
<div class="row detailRow" ng-if="module == 'Documents'">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<label ng-if="module=='Documents'" class="fieldLabel" translate="Attachments">Attachments</label>
</div>
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12" ng-if="documentExists">
<button class="btn btn-primary" ng-click="downloadFile(module,id,parentId)" title="Download {{record[header]}}">Download</button>
</div>
</div>
</div>
</div>
</div>
{/literal}