
<h3>[% $user->gettext('Einträge in') %] [% $ListCategoryName %]</h3>

<div class="table-responsive">
    <table class="table table-striped">
        <thead>
            <tr class="fields">
                <th>
                [% $user->gettext('Titel') %]
                </th>
                <th>
                [% $user->gettext('Geändert am') %]
                </th>
            </tr>
        </thead>
        <tbody>
            [% foreach from=$CategoryEntries item=category %]
                <tr [% if $available %]style="line-height: 30px;"[% /if %]>
                                                        
                    <td>
                        [% if $category->Thumbnail  %]
                            <img src='index.php?module=upload&class=download&event=ShowImage&name=Medium_[% $category->Thumbnail %]' style="max-width:100%; height:auto;">
                        [% /if %]
                        <a href="?module=knowledgebase&cid=[% $ListCategoryID %]&fid=[% $category->FAQDataID %]">[% $category->ShortDescription|truncate:6000:" ...":false %]</a>
                        ([% $category->Visits %] [% $user->gettext('Aufrufe') %])
                        [% if $showRating %]
                        <br /> 
                        <b>[% $user->gettext('Durchschnittliche Bewertung') %]:</b> [% $category->create_bs_rating($category->avg_vote) %]
                        [% /if %]
                    </td>

                    <td  data-sort="[% $category->UpdateDate %]">
                        [% $category->UpdateDate|date_format:"%d.%m.%Y %H:%M"  %]
                    </td>
                </tr>
            [% /foreach %]
        </tbody>
    </table>
</div>
