Loading...
 
Skip to main content

History: rss_gabarit

Source of version: 3

Copy to clipboard
            <div class="rsslist{if $ticker} rssticker{/if} d-flex flex-column gap-2 bg-white shadow-sm border-bottom">
{foreach from=$items item=item key=key}
<div class="rssitem p-4">
<div class="row mb-2">

     <div class="col col-sm-3" style="background-image: url('https://themes.tiki.org/display480'); background-size: cover; background-repeat: no-repeat; background-position-y:  center;"></div>

     <div class="col col-sm-9"> <div class="d-flex gap-2 align-items-center">
                {if $icon}
                    <div style="background-image: url('{$icon}');" class="rss-icon"></div>
                {/if}
                <div class="d-flex flex-column w-100">
                    <div class="d-flex gap-2 align-items-center justify-content-between">
                        <h3>Upcoming event : <a target="_blank" href="{$item.url|escape}" class="fw-bold text-danger">{$item.title|escape}</a></h3>
                        <div class="d-flex gap-1 fs-6 text-secondary align-items-center fw-lighter">
                            {if $item.author and $showauthor}
                                <span>{icon name='user'} {$item.author|escape}</span>
                            {/if}

                            {if $item.author and $showauthor and $item.publication_date and $showdate}
                            <div class="bg-secondary" style="width: 1px; height: 1em;"></div>
                            {/if}

                            {if $item.publication_date and $showdate}
                                <span class="text-secondary">{icon name='calendar'}<span class="ms-2">{$item.publication_date|tiki_short_date}</span></span>
                            {/if}
                        </div>
                    </div>
                    {if $item.description && $showdesc}
                        <div class="rssdescription">
                            {$item.content}
                        </div>
                    {/if}
                    <div class="d-flex mt-3">
                             <a class="btn btn-outline-primary me-3 text-secondary" href="{$item.url|escape}">{icon name='calendar'} <span class='ps-2'>Save this to my calendar</span></a>
                             <a target="_blank" href="https://tiki.org/tiki-calendars_rss.php" class="btn btn-primary text-white">{icon name='rss'} <span class='ps-2'>Subscribe to feed</span></a>
                    </div>
                          
                </div>
            </div>
      </div>

</div>           
</div>
{/foreach}
</div>

        

History

Advanced
Information Version
Wed 14 of Aug, 2024 11:35 GMT-0000 Alvin Bauma 10
Wed 14 of Aug, 2024 11:34 GMT-0000 Alvin Bauma 9
Wed 14 of Aug, 2024 11:34 GMT-0000 Alvin Bauma 8
Wed 14 of Aug, 2024 11:33 GMT-0000 Alvin Bauma 7
Wed 14 of Aug, 2024 11:33 GMT-0000 Alvin Bauma 6
Wed 14 of Aug, 2024 11:18 GMT-0000 Alvin Bauma 5
Wed 14 of Aug, 2024 11:06 GMT-0000 Alvin Bauma 4
Wed 14 of Aug, 2024 11:00 GMT-0000 Alvin Bauma 3
Wed 14 of Aug, 2024 10:59 GMT-0000 Alvin Bauma 2
Wed 14 of Aug, 2024 10:31 GMT-0000 Alvin Bauma 1