<section class="widget adinfo_widget">
    <div class="wid_title" th:text="${theme.config.sidebar.adinfo_widget.title}"></div>
    <div class="items wid_ad_info" th:with="base_info = ${theme.config.sidebar.adinfo_widget.base_info}">
        <div class="ad_info" th:each="base,iStat : ${base_info}">
            <div class="name">
                <i th:if="${base.ba_icon}" th:class="${base.ba_icon}"></i>
                <img th:unless="${base.ba_icon}"  th:src="${base.ba_img}">
            </div>
            <div class="meta"
                 th:uk-tooltip="${'title:'+base.ba_des+';pos: right'}">
                <a th:if="${not #strings.isEmpty(base.ba_link)}"
                   th:href="${base.ba_link}"
                   th:target="${base.ba_open_new}">[[${base.ba_title}]]</a>
                <p th:unless="${not #strings.isEmpty(base.ba_link)}">[[${base.ba_title}]]</p>
            </div>
        </div>
    </div>
</section>