userinfo.user_name=='admin' or  kwd.get('can_add',False)) %}

            <li>
                <a href="/publish/{{ widget_info['parentid'] }}" class="btn btn-primary btn-sm" title="{{ _('Publish') }} {{ widget_info['catname'] }} {{ _('data') }}">

               {{ _('Publish') }}   {{ widget_info['catname'] }} {{ _('data') }} </a>

            </li>

            {% end %}

        </ol>

        <ul class="list-group">

            {% block infolist %} {% end %}

        </ul>

        <div class="clear">