예제 #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)
예제 #2
0
파일: view.py 프로젝트: elwillow/kaiinshou
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)
예제 #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)
예제 #4
0
파일: view.py 프로젝트: elwillow/kaiinshou
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)