Skip to content

Commit

Permalink
changed text to sentence case in solutions directory issue exercism/e…
Browse files Browse the repository at this point in the history
  • Loading branch information
amaliacardenas committed Aug 13, 2018
1 parent 5aa9b0a commit 5c7a5cf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions app/views/solutions/index.html.haml
Expand Up @@ -4,20 +4,20 @@
-if user_signed_in?
/=link_to "Dashboard", root_path
/=nav_divider
=link_to "Language Tracks", [:my, :tracks]
=link_to "Language tracks", [:my, :tracks]
=nav_divider
=link_to "#{@track.title} Track", [:my, @track]
=link_to "#{@track.title} track", [:my, @track]
=nav_divider
-if @user_solution
=link_to "Your Solution to #{@exercise.title}", [:my, @user_solution]
=link_to "Your solution to #{@exercise.title}", [:my, @user_solution]
=nav_divider
%span Community Solutions
%span Community solutions
-else
=link_to "Home", root_path
=nav_divider
=link_to "Language Tracks", :tracks
=link_to "Language tracks", :tracks
=nav_divider
=link_to "#{@track.title} Track", @track
=link_to "#{@track.title} track", @track
=nav_divider
=link_to "Exercises", [@track, :exercises]
=nav_divider
Expand All @@ -29,7 +29,7 @@
.lo-container
.track
=bordered_turquoise_track_icon @track
.title #{@track.title} Track
.title #{@track.title} track
.icon
=graphical_image @exercise.white_icon_url
%h1
Expand All @@ -50,7 +50,7 @@
=graphical_icon 'eye-slash not-published-icon'
=image display_avatar_url(current_user, @current_user_track), "Avatar of #{display_handle(current_user, @current_user_track)}"
.handle
Your Solution
Your solution
.hidden-box Hidden
-if @user_solution.completed?
.published-at Completed #{time_ago_in_words(@user_solution.completed_at)} ago
Expand Down
20 changes: 10 additions & 10 deletions app/views/solutions/show.html.haml
Expand Up @@ -4,29 +4,29 @@
-if user_signed_in?
/=link_to "Dashboard", root_path
/=nav_divider
=link_to "Language Tracks", [:my, :tracks]
=link_to "Language tracks", [:my, :tracks]
=nav_divider
=link_to "#{@track.title} Track", [:my, @track]
=link_to "#{@track.title} track", [:my, @track]
=nav_divider
-if @user_solution
=link_to "Your Solution to #{@exercise.title}", [:my, @user_solution]
=link_to "Your solution to #{@exercise.title}", [:my, @user_solution]
=nav_divider
=link_to "Community Solutions", [@track, @exercise, :solutions]
=link_to "Community solutions", [@track, @exercise, :solutions]
=nav_divider
%span This Solution
%span This solution

-else
=link_to "Language Tracks", :tracks
=link_to "Language tracks", :tracks
=nav_divider
=link_to "#{@track.title} Track", @track
=link_to "#{@track.title} track", @track
=nav_divider
=link_to "Exercises", [@track, :exercises]
=nav_divider
=link_to @exercise.title, [@track, @exercise]
=nav_divider
=link_to "Community Solutions", [@track, @exercise, :solutions]
=link_to "Community solutions", [@track, @exercise, :solutions]
=nav_divider
%span This Solution
%span This solution

.lo-container
.header
Expand All @@ -49,7 +49,7 @@
.tab.tab-1
Instructions
.tab.tab-2
Test Suite
Test suite
.tab.tab-3
Solution

Expand Down

0 comments on commit 5c7a5cf

Please sign in to comment.