Did I find the right examples for you? yes no

All Samples(18)  |  Call(10)  |  Derive(0)  |  Import(8)

src/m/o/modoboa-1.1.1/modoboa/core/views/admin.py   modoboa(Download)
def logs(request, tplname="core/logs.html"):
    from modoboa.lib.templatetags.lib_tags import pagination_bar
 
    sort_order, sort_dir = get_sort_order(
        request.GET, "date_created",
        }),
        "page": page.number,
        "paginbar": pagination_bar(page),
    })
 

src/m/o/modoboa-HEAD/modoboa/core/views/admin.py   modoboa(Download)
def logs(request, tplname="core/logs.html"):
    from modoboa.lib.templatetags.lib_tags import pagination_bar
 
    sort_order, sort_dir = get_sort_order(
        request.GET, "date_created",
        }),
        "page": page.number,
        "paginbar": pagination_bar(page),
    })
 

src/m/o/modoboa-1.1.1/modoboa/extensions/admin/views/identity.py   modoboa(Download)
)
from modoboa.lib.formutils import CreationWizard
from modoboa.lib.templatetags.lib_tags import pagination_bar
from modoboa.core.models import User
from modoboa.extensions.admin.models import Mailbox, Domain
                                                 raise_error=False),
        "page": page.number,
        "paginbar": pagination_bar(page)
    })
 
    return render_to_json_response({
        "page": page.number,
        "paginbar": pagination_bar(page),
        "table": _render_to_string(request, tplname, {
            "mboxes": page

src/m/o/modoboa-HEAD/modoboa/extensions/admin/views/identity.py   modoboa(Download)
)
from modoboa.lib.formutils import CreationWizard
from modoboa.lib.templatetags.lib_tags import pagination_bar
from modoboa.core.models import User
from modoboa.extensions.admin.models import Mailbox, Domain
                                                 raise_error=False),
        "page": page.number,
        "paginbar": pagination_bar(page)
    })
 
    return render_to_json_response({
        "page": page.number,
        "paginbar": pagination_bar(page),
        "table": _render_to_string(request, tplname, {
            "mboxes": page

src/m/o/modoboa-1.1.1/modoboa/extensions/admin/views/domain.py   modoboa(Download)
    ModoboaException, PermDeniedException, BadRequest
)
from modoboa.lib.templatetags.lib_tags import pagination_bar
from modoboa.extensions.admin.lib import get_sort_order, get_listing_page
from modoboa.extensions.admin.models import Domain, Mailbox
        }),
        "page": page.number,
        "paginbar": pagination_bar(page),
        "handle_mailboxes": parameters.get_admin("HANDLE_MAILBOXES",
                                                 raise_error=False),

src/m/o/modoboa-HEAD/modoboa/extensions/admin/views/domain.py   modoboa(Download)
    ModoboaException, PermDeniedException, BadRequest
)
from modoboa.lib.templatetags.lib_tags import pagination_bar
from modoboa.extensions.admin.lib import get_sort_order, get_listing_page
from modoboa.extensions.admin.models import Domain, Mailbox
        }),
        "page": page.number,
        "paginbar": pagination_bar(page),
        "handle_mailboxes": parameters.get_admin("HANDLE_MAILBOXES",
                                                 raise_error=False),

src/m/o/modoboa-1.1.1/modoboa/extensions/amavis/views.py   modoboa(Download)
    getctx, ajax_response, render_to_json_response
)
from modoboa.lib.templatetags.lib_tags import pagination_bar
from modoboa.extensions.admin.models import Mailbox, Domain
from modoboa.extensions.amavis.templatetags.amavis_tags import (
    content = lst.fetch(request, page.id_start, page.id_stop)
    ctx = getctx(
        "ok", listing=content, paginbar=pagination_bar(page), page=page.number
    )
    if request.session.get('location', 'listing') != 'listing':

src/m/o/modoboa-HEAD/modoboa/extensions/amavis/views.py   modoboa(Download)
    getctx, ajax_response, render_to_json_response
)
from modoboa.lib.templatetags.lib_tags import pagination_bar
from modoboa.extensions.admin.models import Mailbox, Domain
from modoboa.extensions.amavis.templatetags.amavis_tags import (
    content = lst.fetch(request, page.id_start, page.id_stop)
    ctx = getctx(
        "ok", listing=content, paginbar=pagination_bar(page), page=page.number
    )
    if request.session.get('location', 'listing') != 'listing':