Django-Frontend-Notification Views¶
user_notification¶
User Detail change on Customer UI
Attributes:
form- UserChangeDetailForm, UserChangeDetailExtendForm,PasswordChangeForm, CheckPhoneNumberForm
template- ‘frontend/frontend_notification/user_notification.html’Logic Description:
- User is able to change his/her detail.
notification_del_read¶
Delete notification for the logged in user
Attributes:
object_id- Selected notification objectobject_list- Selected notification objectsLogic Description:
- Delete/Mark as Read the selected notification
update_notification¶
- Notification Status (e.g. read/unread) can be changed from
- customer interface
frontend_send_notification¶
- User Notification (e.g. start | stop | pause | abort |
contact/campaign limit) needs to be saved. It is a common function for the admin and customer UI’s
Attributes:
pk- primary key of the campaign recordstatus- get label for notifications
frontend_notification_status¶
- Notification Status (e.g. read/unread) need to be change.
It is a common function for admin and customer UI
Attributes:
pk- primary key of notice recordLogic Description:
- Selected Notification’s status need to be changed. Changed status can be read or unread.
notice_count¶
Get count of logged in user’s notifications