Commit c54a9d6

mo khan <mo@mokhan.ca>
2016-07-13 04:13:21
add next workout link for mobile only.
1 parent 513108c
Changed files (2)
app
config
locales
app/views/layouts/application.html.erb
@@ -30,6 +30,7 @@
           <ul class="vertical dropdown menu" data-dropdown-menu>
             <li> <%= search_form(id: "mobile-search-form") %> </li>
             <li><%= link_to t(".nav.user.workouts"), workouts_path %></li>
+            <li><%= link_to t(".new_workout"), new_workout_path %></li>
             <li><%= link_to t(".gyms"), gyms_path %></li>
             <li><%= link_to t(".nav.user.profile_edit"), edit_profile_path(current_user) %></li>
             <li><%= link_to t(".nav.user.profile_view"), profile_path(current_user) %></li>
config/locales/en.yml
@@ -48,6 +48,7 @@ en:
   layouts:
     application:
       gyms: Gyms
+      new_workout: 'Next Workout'
       loading: "Loading..."
       nav:
         user: