We need a chat function built into our system which is written in Ruby on Rails.
This chat function will appear in our "Gift Tracker" area. It will display NotesBox under each item. (see screen http://pix.am/rYN0/ )
1. post date
2. user first name (or "admin" if comment was written by the admin)
4. edit / delete (for Users apply 5 min delay time, after 5 min edit-delete options should disappear and no longer available to modify. Admin should be able to modify comments anytime)
5. textarea + submit button
6. 'view notes' - if admin or user post a new note -> apply for "view notes" text font-weight: bold and color: #000.
7. notes notification: every time when user/admin post a new message/note, send an email notification.