From 0c785ab730997972b573c48d25f958dea5ad62b9 Mon Sep 17 00:00:00 2001 From: nanalelfe Date: Sun, 24 Jul 2016 01:49:46 -0400 Subject: Implemented messaging system. Form neesds to be fixed --- views/layouts/layout.hbs | 3 --- views/user_profile_alt.hbs | 58 +++++++++++++++++++++++++++++++--------------- 2 files changed, 39 insertions(+), 22 deletions(-) (limited to 'views') diff --git a/views/layouts/layout.hbs b/views/layouts/layout.hbs index ddfa945..62e9134 100644 --- a/views/layouts/layout.hbs +++ b/views/layouts/layout.hbs @@ -24,9 +24,6 @@ - {{> header }} diff --git a/views/user_profile_alt.hbs b/views/user_profile_alt.hbs index bad6fe5..652cfee 100644 --- a/views/user_profile_alt.hbs +++ b/views/user_profile_alt.hbs @@ -20,8 +20,9 @@ + {{# if success }} +
+ +

{{ success }}

+
+ {{ else }} + {{# if error }} +
+

{{ error }}

+
+ {{/if}} + {{/if}} +
+

Send Message

+
+
+
+ + +
+
+ + +
+ +
+
+
+ {{# if inbox }}

Inbox

@@ -162,29 +192,19 @@ + {{# each inbox }} - - - - - - - - - - - - - - - - - - + + + + {{/each}}
2016-05-01Great Solution!1The Dude
2016-04-05Woah look at thisLady Lips
2016-02-30I don't get this, help!The Dude
2016-01-15I solved your problemLisa{{ this.date }}{{ this.message }}{{ this.sender }}
+ {{ else }} +

No Messages.

+ {{/if}}
-- cgit v1.2.3