Ejemplo n.º 1
0
def addGoodBanNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("This user has been banned from the shed.", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 2
0
def addLeaveShedNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("You have left the shed.", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 3
0
def addRequestApprovedNoti(contentDict):
    newNoti = notifUtil.createTempInfoNotif("Request approved.", "info")
    return addNoti(contentDict, newNoti)
Ejemplo n.º 4
0
def addShedJoinRequestNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Shed join request sent.", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 5
0
def addGoodLogoutNoti(contentDict):
    newNoti = notifUtil.createTempInfoNotif(
        "Logout successful. Have a good day.", "success")
    return addNoti(contentDict, newNoti)
Ejemplo n.º 6
0
def addShedJoinRequestNoti(contentDict):
    newNoti = notifUtil.createTempInfoNotif("Shed join request sent.",
                                            "success")
    return addNoti(contentDict, newNoti)
Ejemplo n.º 7
0
def addGoodToolSubmissionNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Your tool was successfully submitted!", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 8
0
def addGoodBanNoti(contentDict):
    newNoti = notifUtil.createTempInfoNotif(
        "This user has been banned from the shed.", "success")
    return addNoti(contentDict, newNoti)
Ejemplo n.º 9
0
def addGoodLoginNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Login successful!", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 10
0
def addGoodRegisterNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Registration successful! You are now logged in.", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 11
0
def addFailedLoginNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Login failed."
					+ " Please check your username and password and try again.", "alert")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 12
0
def addRequestApprovedNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Request approved.", "info")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 13
0
def addToolReturnedNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Tool marked as returned.  The owner must confirm it has been returned.", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 14
0
def addGoodLogoutNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Logout successful. Have a good day.", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 15
0
def addGoodShedCreationNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Your shed was successfully created!", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 16
0
def addGoodAdminRemoveNoti(contentDict):
    newNoti = notifUtil.createTempInfoNotif(
        "This user has been removed as an admin of the shed.", "success")
    return addNoti(contentDict, newNoti)
Ejemplo n.º 17
0
def addGoodPasswordChangeNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Password changed successfully.", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 18
0
def addLeaveShedNoti(contentDict):
    newNoti = notifUtil.createTempInfoNotif("You have left the shed.",
                                            "success")
    return addNoti(contentDict, newNoti)
Ejemplo n.º 19
0
def addGoodAccountUpdateNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Account information updated successfully.", "success") 
	return addNoti(contentDict, newNoti)
Ejemplo n.º 20
0
def addBorrowRequestNoti(contentDict):
    newNoti = notifUtil.createTempInfoNotif("Borrow request sent.", "success")
    return addNoti(contentDict, newNoti)
Ejemplo n.º 21
0
def addGoodShedEditNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Shed information updated successfully.", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 22
0
def addToolReturnedNoti(contentDict):
    newNoti = notifUtil.createTempInfoNotif(
        "Tool marked as returned.  The owner must confirm it has been returned.",
        "success")
    return addNoti(contentDict, newNoti)
Ejemplo n.º 23
0
def addGoodAdminRemoveNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("This user has been removed as an admin of the shed.", "success")
	return addNoti(contentDict, newNoti)
Ejemplo n.º 24
0
def addFailedLoginNoti(contentDict):
    newNoti = notifUtil.createTempInfoNotif(
        "Login failed." +
        " Please check your username and password and try again.", "alert")
    return addNoti(contentDict, newNoti)
Ejemplo n.º 25
0
def addBorrowRequestNoti(contentDict):
	newNoti = notifUtil.createTempInfoNotif("Borrow request sent.", "success")
	return addNoti(contentDict, newNoti)