Esempio n. 1
0
def cartListing(cart_id, messageInfo=None):
    """Return the HTML rendered list of items in the cart"""
    badges = db.badgeList(cart_id)
    if not badges:
        badgesDetail = None
    else:
        badgesDetail = db.badgesDetail(badges)
    return render.cart(cart_id, badgesDetail, messageInfo)
Esempio n. 2
0
def badgeListing(cart_id):
    """Return a HTML rendered list of badge from a cart id"""
    badges = db.badgeList(cart_id)
    if not badges:
        badgesDetail = None
    else:
        badgesDetail = db.badgesDetail(badges)
    return render.list(badgesDetail)
Esempio n. 3
0
def badgeListing(cart_id):
    """Return a HTML rendered list of badge from a cart id"""
    badges = db.badgeList(cart_id)
    if not badges:
        badgesDetail = None
    else:
        badgesDetail = db.badgesDetail(badges)
    return render.list(badgesDetail)
Esempio n. 4
0
def cartListing(cart_id, messageInfo=None):
    """Return the HTML rendered list of items in the cart"""
    badges = db.badgeList(cart_id)
    if not badges:
        badgesDetail = None
    else:
        badgesDetail = db.badgesDetail(badges)
    return render.cart(cart_id, badgesDetail, messageInfo)