61 lines
2.9 KiB
Smarty
61 lines
2.9 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 class="row">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
|
|
|
<div class="container-fluid updatesContainer">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row" ng-show="updates === ''">
|
|
|
|
<span class="value">No Updates Found.</span>
|
|
|
|
</div>
|
|
|
|
<div class="row update-row" ng-repeat="update in updates" ng-if="isLanguage(update)">
|
|
|
|
|
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" ng-repeat="(fieldname,value) in update" ng-if="isLanguage(update)">
|
|
|
|
<p ng-if="value.updateStatus=='updated'">
|
|
|
|
<span class="update-bullet"> </span>
|
|
|
|
<strong> {{fieldname}} </strong>
|
|
|
|
<span class="value">
|
|
|
|
<span ng-if="value.previous!==''"> {{'changed from'|translate}}
|
|
|
|
<strong class="break" style="white-space:pre-line;">{{value.previous}} </strong>
|
|
|
|
<span ng-if="value.current!==''"> {{'to'|translate}} </span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span class="value">
|
|
|
|
<span ng-if="value.previous =='' && value.current!==''"> {{'changed to'|translate}} </span>
|
|
|
|
<strong class="break" style="white-space:pre-line;">{{value.current}}</strong>
|
|
|
|
</span>
|
|
|
|
<span class="value">
|
|
|
|
<span ng-if="value.previous =='' && value.current==''"> {{'deleted'|translate}} </span>
|
|
|
|
</span>
|
|
|
|
<small class="text-muted update-time">{{update.modifiedtime}}</small>
|
|
|
|
</p>
|
|
|
|
<p ng-if="value.updateStatus=='created'">
|
|
|
|
<span class="update-bullet"> </span>
|
|
|
|
<span>
|
|
|
|
<strong>{{update.created.user}}</strong> {{'created'|translate}}</span>
|
|
|
|
<small class="text-muted update-time">{{update.modifiedtime}}</small>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a ng-if="!updatesLoaded && !noUpdates && created" ng-click="loadHistoryPage(historyPageNo)">{{'more'|translate}}...</a>
|
|
|
|
<p ng-if="updatesLoaded && !noUpdates" class="text-muted">{{'No more updates'|translate}}</p>
|
|
|
|
<p ng-if="!updatesLoaded && noUpdates" class="text-muted">{{'No updates'|translate}}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/literal}
|
|
|