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

54 lines
2.4 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}
{assign var=WIDTHTYPE value=$CURRENT_USER_MODEL->get('rowheight')}
<table class="table listview-table listViewEntriesTable">
<thead>
<tr class="listViewContentHeader">
{foreach item=LISTVIEW_HEADER from=$LISTVIEW_HEADERS}
<th nowrap {if $LISTVIEW_HEADER@last} colspan="2" {/if} class="{$WIDTHTYPE}">
{vtranslate($LISTVIEW_HEADER->get('label'), $MODULE)}
</th>
{/foreach}
</tr>
</thead>
{foreach item=LISTVIEW_ENTRY from=$RECORD->getRssObject() name=listview}
<tr class="listViewEntries" data-id='{$RECORD->getId()}'>
{foreach item=LISTVIEW_HEADER from=$LISTVIEW_HEADERS}
{assign var=LISTVIEW_HEADERNAME value=$LISTVIEW_HEADER->get('name')}
<td class="listViewEntryValue {$WIDTHTYPE}" data-field-type="{$LISTVIEW_HEADER->getFieldDataType()}" nowrap>
<a class='feedLink' href="#" data-url="{$LISTVIEW_ENTRY['link']}">{$LISTVIEW_ENTRY[$LISTVIEW_HEADERNAME]}</a>
{if $LISTVIEW_HEADER@last}
</td>
<td nowrap class="{$WIDTHTYPE}">
<span class="actions">
<span class="actionImages pull-right">
<a href="{$LISTVIEW_ENTRY['link']}" target="_BLANK"><i title="{vtranslate('LBL_SHOW_COMPLETE_DETAILS', $MODULE)}" class="fa fa-external-link"></i></a>&nbsp;
</span>
</span>
</td>
{/if}
</td>
{/foreach}
</tr>
{/foreach}
<tr class="listViewEntrie {$WIDTHTYPE}" nowrap>
<td class="listViewEntryValue">
<a href="{$RECORD->get('url')}" target="_BLANK" name="history_more">{vtranslate('LBL_MORE')}...</a>
</td>
<td nowrap class="{$WIDTHTYPE}">
</td>
<td nowrap class="{$WIDTHTYPE}">
</td>
</tr>
</table>
{/strip}