{*
 * Copyright (c) 2004-2020 OIC Group, Inc.
 *
 * This file is part of Exponent
 *
 * Exponent is free software; you can redistribute
 * it and/or modify it under the terms of the GNU
 * General Public License as published by the Free
 * Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * GPL: http://www.gnu.org/licenses/gpl.txt
 *
 *}

<div class="module rss showall">
    {if !($config.hidemoduletitle xor $smarty.const.INVERT_HIDE_TITLE)}<{$config.heading_level|default:'h1'}>{$moduletitle|default:"RSS Feeds"|gettext}</{$config.heading_level|default:'h1'}>{/if}
    {if $config.moduledescription != ""}
        {$config.moduledescription}
    {/if}
    {foreach from=$feeds item=feed}
		<div class="item">
            {rss_link feed=$feed text=$feed->title}
            {permissions}
                <div class="item-actions">
                    {if $permissions.manage}
                        {icon module=$feed->module action=configure src=$feed->src title='Configure this RSS Feed'|gettext}
                    {/if}
                </div>
            {/permissions}
		</div>
    {foreachelse}
        <strong><em>{'There are no Feeds'|gettext}</em></strong>
    {/foreach}
</div>
