Skip to content

Commit

Permalink
references #65 Add instructions to home page for logging in.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgurley committed Mar 1, 2017
1 parent 8863e3f commit 8560785
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/home/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@
%li
Browse the list of available clinical research repositories below.
%li
If affiliated with Northwestern, use your NetID and password to
- if user_signed_in?
Login.
- else
= link_to "Login.", new_user_session_path
%br
%li
If not affiliated with Northwestern, create an account by signing up (coming soon!).
%li
Create a disbursement request.
.existing_user
Expand Down
1 change: 1 addition & 0 deletions spec/features/home_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
end

scenario 'Visting a repository ', js: true, focus: false do
scroll_to_bottom_of_the_page
within("#repository_#{@repository_moomin.id}") do
click_link('View')
end
Expand Down

0 comments on commit 8560785

Please sign in to comment.