Пример #1
0
    def index(self, format='html'):
        require.user.index()

        c.users_pager = solr_instance_users_pager(c.instance)

        #if format == 'json':
        ##    return render_json(c.users_pager)

        return render("/user/index.html")
Пример #2
0
    def index(self, format='html'):
        require.user.index()

        c.users_pager = solr_instance_users_pager(c.instance)

        #if format == 'json':
        ##    return render_json(c.users_pager)

        return render("/user/index.html")
Пример #3
0
    def index(self, format='html'):
        require.user.index()

        c.users_pager = solr_instance_users_pager(c.instance)

        #if format == 'json':
        ##    return render_json(c.users_pager)

        c.tutorial_intro = _('tutorial_user_index_intro')
        c.tutorial = 'user_index'
        return render("/user/index.html")
Пример #4
0
    def index(self, format='html'):
        require.user.index()

        default_sorting = config.get(
            'adhocracy.listings.instance_user.sorting', 'ACTIVITY')
        c.users_pager = solr_instance_users_pager(c.instance, default_sorting)

        #if format == 'json':
        ##    return render_json(c.users_pager)

        c.tutorial_intro = _('tutorial_user_index_intro')
        c.tutorial = 'user_index'
        return render("/user/index.html")