summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornfoy <nfoy@purdue.edu>2014-02-10 20:22:15 -0500
committernfoy <nfoy@purdue.edu>2014-02-10 20:22:15 -0500
commitdd9213d9d02e8b2e5eb834d4a72abd9aea0470de (patch)
tree8fce60ffa8b4b706f54e6d1c9425c1b51680e5f1
parent001ab55b4dad44dae229791a2361b93f15ef8ea9 (diff)
Messages/new and private .html
Put in the information for these. Unsure if I did it properly.
-rw-r--r--docs/DesignDocument.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md
index 98ba57c..b647de4 100644
--- a/docs/DesignDocument.md
+++ b/docs/DesignDocument.md
@@ -178,10 +178,22 @@ search/results.html
triggers a GET request to the relevent controller method.
messages/new_alert.html
- : TODO
+ : This shows the user that a new message is available for view.
+ Clicking on the notification should cause a GET to the
+ show_private controller and take the user to his/her messages.
+ new_alert should interact with the Main controller's
+ show_homepage to display the notification.
messages/private.html
- : TODO
+ : This page is used to handle user private messaging. It should
+ display a list of private message and which user the private
+ messages are communicating with. Clicking on a message should
+ trigger a GET to show_private and display the message. A field
+ box for entering a message should be present. When posting a
+ message a POST should be sent to Message's post_private and
+ then a POST to post_alert confirming that it was sent. A
+ new_alert should then be sent to the recieving user.
+
tournaments/index.html
: TODO: list of tournaments