From 6dc5e91ebf84181bc8ca1057d5338296d918931c Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Sat, 7 Jun 2014 04:59:46 -0400 Subject: tuck away signed-in notice --- views/partials/edit-profile.ejs | 102 ++++++++++++++++++++-------------------- views/partials/footer.ejs | 13 +++++ views/partials/header.ejs | 7 +-- 3 files changed, 69 insertions(+), 53 deletions(-) (limited to 'views') diff --git a/views/partials/edit-profile.ejs b/views/partials/edit-profile.ejs index 1ac69d7..d7c9a34 100644 --- a/views/partials/edit-profile.ejs +++ b/views/partials/edit-profile.ejs @@ -14,54 +14,56 @@ -
  • - -
    - -
    -
  • -
  • - -
    - -
    -
  • -
  • - -
    - -
    -
  • -
  • - -
    - -

    please choose a picture at least 500px wide

    -
  • -
  • -

    Edit Password

    -
  • -
  • - -
    - -
    -
  • -
  • - -
    - -
    -
  • -
  • - -
    - -
    -
  • +
  • + +
    + +
    +
  • +
  • + +
    + +
    +
  • +
  • + +
    + +
    +
  • +
  • + +
    + +

    please choose a picture at least 500px wide

    +
  • +
  • +

    Edit Password

    +
  • +
  • + +
    + +
    +
  • +
  • + +
    + +
    +
  • +
  • + +
    + +
    +
  • -
  • - -
  • - - \ No newline at end of file +
  • + +
  • + + + + \ No newline at end of file diff --git a/views/partials/footer.ejs b/views/partials/footer.ejs index f1bd0a8..df48cf3 100644 --- a/views/partials/footer.ejs +++ b/views/partials/footer.ejs @@ -1,5 +1,18 @@ diff --git a/views/partials/header.ejs b/views/partials/header.ejs index fce96cc..d6c8fa9 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -2,10 +2,11 @@ [[ if (logged_in) { ]] - [[- user.displayName ]] - View Profile + [[ if (profile && user._id == profile._id) { ]] Edit Profile - Sign Out + [[ } else if (! profile) { ]] + View Profile + [[ } ]] [[ } else { ]] -- cgit v1.2.3-70-g09d2