<?php
/* Smarty version 3.1.33, created on 2019-08-07 11:09:48
  from 'D:\websites\uvocorp\templates\dashboard\order\_order.file.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_5d4a955c12bca1_92817102',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '868805278e13342cc674ac9fe64c723c80c83e65' => 
    array (
      0 => 'D:\\websites\\uvocorp\\templates\\dashboard\\order\\_order.file.tpl',
      1 => 1561752894,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5d4a955c12bca1_92817102 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="OrderDetailsFilesCustomersFile">
    <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['file']->value['downloadLink'], ENT_QUOTES, 'UTF-8');?>
" class="OrderDetailsFilesCustomersFile__link" title="Download <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['file']->value['name'], ENT_QUOTES, 'UTF-8');?>
 (<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['file']->value['fileDescription'], ENT_QUOTES, 'UTF-8');?>
)">
        <div class="FormFile__icon">
            <div class="FormFile__icon__badge FormFile__icon__badge--<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['file']->value['icon'], ENT_QUOTES, 'UTF-8');?>
"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['file']->value['icon'], ENT_QUOTES, 'UTF-8');?>
</div>
        </div>
        <span class="OrderDetailsFilesCustomersFile__subject"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['file']->value['name'], ENT_QUOTES, 'UTF-8');?>

            <div class="OrderDetailsFilesCustomersFile__file-description"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['file']->value['fileDescription'], ENT_QUOTES, 'UTF-8');?>

                <span class="OrderDetailsFilesCustomersFile__date"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['file']->value['createdAt'], ENT_QUOTES, 'UTF-8');?>
</span>
            </div>
        </span>
    </a>

    <?php if ($_smarty_tpl->tpl_vars['user']->value['is_admin']) {?>
        <span data-toggle="tooltip" data-title="Delete File" data-handle="file" data-id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['file']->value['id'], ENT_QUOTES, 'UTF-8');?>
" class="OrderDetailsFilesCustomersFile__delete-button js_admin-deleter"></span>
    <?php }?>
</div><?php }
}
