Files
CRM/layouts/v7/modules/Vtiger/dashboards/NotebookContents.tpl
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

57 lines
2.1 KiB
Smarty

{************************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); 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.
*************************************************************************************}
{strip}
<div style='padding:5px'>
<div class="row">
<div class="dashboard_notebookWidget_view" style="word-break: break-all">
<div class="">
<span class="col-lg-10">
<i>{vtranslate('LBL_LAST_SAVED_ON', $MODULE)}</i> {Vtiger_Util_Helper::formatDateTimeIntoDayString($WIDGET->getLastSavedDate())}
</span>
<span class="col-lg-2">
<span class="pull-right">
<button class="btn btn-default btn-sm pull-right dashboard_notebookWidget_edit">
<strong>{vtranslate('LBL_EDIT', $MODULE)}</strong>
</button>
</span>
</span>
</div>
<br><br>
<div class="pushDown2per col-lg-12">
<div class="dashboard_notebookWidget_viewarea boxSizingBorderBox">
{$WIDGET->getContent()|nl2br}
</div>
</div>
</div>
<div class="dashboard_notebookWidget_text" style="display:none;">
<div class="">
<span class="col-lg-10">
<i>{vtranslate('LBL_LAST_SAVED_ON', $MODULE)}</i> {Vtiger_Util_Helper::formatDateTimeIntoDayString($WIDGET->getLastSavedDate())}
</span>
<span class="col-lg-2">
<span class="pull-right">
<button class="btn btn-mini btn-success pull-right dashboard_notebookWidget_save">
<strong>{vtranslate('LBL_SAVE', $MODULE)}</strong>
</button>
</span>
</span>
</div>
<br><br>
<div class="">
<span class="col-lg-12">
<textarea class="dashboard_notebookWidget_textarea boxSizingBorderBox" data-note-book-id="{$WIDGET->get('id')}">
{$WIDGET->getContent()}
</textarea>
</span>
</div>
</div>
</div>
</div>
{/strip}