[BS] First Statistics Pro Tabs

darknikolas

Только чтение
Сообщения
20
Реакции
0
Баллы
1,700
Доброй ночи , возможно ли добавить иконки font awesome перед "последние темы" итд?
 
Bash:
<ul class="content">
    <xf:if is="$threads is not empty">
        <xf:foreach loop="$threads" value="$thread">
            <li class="item item--thread{{ $thread.prefix_id ? ' is-prefix' . $thread.prefix_id : '' }}{{ $thread.isUnread() ? ' is-unread' : '' }}{{ $thread.is_sticked ? ' is-sticked' : '' }} thread--{$thread.thread_id}">
                <i class="fa fa-{{ $thread.is_sticked ? 'thumb-tack' : 'angle-double-right' }} icon" aria-hidden="true"></i>
                <span class="title">
                    <xf:set var="$canPreview" value="{{ $thread.canPreview() }}" />
                    <xf:if is="$thread.prefix_id">
                        <xf:if is="$forum">
                            <a href="{{ link('forums', $forum, {'prefix_id': $thread.prefix_id}) }}" class="labelLink">{{ prefix('thread', $thread, 'html', '') }}</a>
                            <xf:else />
                            {{ prefix('thread', $thread, 'html', '') }}
                        </xf:if>
                    </xf:if>
                    <a href="{{ link('threads/post', $thread, {'post_id': $thread.last_post_id}) }}" class="overflowed" data-tp-primary="on" data-xf-init="{{ $canPreview ? 'preview-tooltip' : '' }}" data-preview-url="{{ $canPreview ? link('threads/preview', $thread) : '' }}">{$thread.title}</a>
                </span>
                <span class="postDate contentRow-minor">
                    <xf:if is="$thread.is_sticked">
                        <span class="overflowed">{{ phrase('fsp_tabs_is_sticked') }}</span>
                        <xf:else />
                        <xf:date class="overflowed" time="$thread.last_post_date" />
                    </xf:if>
                </span>
                <span class="username">
                    <xf:if is="$thread.is_sticked">
                        <span class="overflowed contentRow-minor">{{ phrase('fsp_tabs_is_sticked') }}</span>
                        <xf:else />
                        <xf:username class="overflowed" user="$thread.LastPoster" rich="true" />
                    </xf:if>
                </span>
            </li>
        </xf:foreach>
        <xf:else />
        <div class="emptyBlock">
            <img src="{{ base_url('styles/default/bs/fsp/bad-luck.gif') }}" />
            <div class="emptyText">{{ phrase('no_items_to_display') }} </div>
        </div>
    </xf:if>
</ul>
Я так понимаю нужно где то что то менять тут ? ?
 
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу