Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add drop downs for login/out and user name displaying #25

Open
Mirv opened this issue Nov 11, 2018 · 1 comment
Open

Add drop downs for login/out and user name displaying #25

Mirv opened this issue Nov 11, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Mirv
Copy link
Owner

Mirv commented Nov 11, 2018

Solve scrolling bar via css / jquery drop down rather than

- if user_signed_in? && !current_user.anonymous?
  %li.sidebar-nav-item
    // TODO - assess value of showing user name
    // #{logged_in_email(current_user)}
    // \-
    = link_to 'Log Out', destroy_user_session_path, method: :delete
- else
  %li.sidebar-nav-item
    %a.js-scroll-trigger{:href => new_user_session_path} Log In
    // TODO - implement drop down for sign up on mouse over?
    // \-
    // %a.js-scroll-trigger{:href => new_user_registration_path} Sign up
@Mirv
Copy link
Owner Author

Mirv commented Nov 12, 2018

Removed comments to keep code clean as git also documents this for us.

@Mirv Mirv self-assigned this Nov 12, 2018
@Mirv Mirv added the enhancement New feature or request label Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant