diff --git a/rowers/templates/about_us.html b/rowers/templates/about_us.html index c178aa32..65890329 100644 --- a/rowers/templates/about_us.html +++ b/rowers/templates/about_us.html @@ -11,14 +11,6 @@ and enables you to share data with many common online training tracking systems.

-

Quick Start

- - -

On our Videos Page, we already have a few - nice videos to get you started with your rowing data. Jump right in and - see how we do things at rowsandall.com!

- -

Indoor Rowing

@@ -72,9 +64,8 @@

Import Compatibility

Rowsandall.com tries to be compatible with the most important tools - that rowers use to capture the data (both indoor and OTW). For a full - list of currently supported devides/apps, click - here. + that rowers use to capture the data (both indoor and OTW). +

@@ -93,14 +84,14 @@ and inspired by the RowPro Dan Burpee spreadsheet

We offer three plans. Click on the name of the plan to find out more:

    -
  • Pro Membership, +
  • Pro Membership, offering additional rowing metrics and analysis tools for individual rowers.
  • -
  • Self-Coach Membership, +
  • Self-Coach Membership, offering all of the Pro Membership plan, plus the ability to plan your own sessions and analyze progress of your fitness against your plan.
  • -
  • Coach Membership, +
  • Coach Membership, offering all functions of Self-Coach and Pro Membership plans, but allows you to build a manage the performance of a group of athletes around you. You can analyze @@ -121,7 +112,7 @@ and inspired by the RowPro Dan Burpee spreadsheet sign up for the trial. After your trial period expires, you will be automatically reset to the Basic plan, unless you upgrade to Pro.

    -

    Yes, I want to try Pro membership for 14 days for free. No strings attached.

    +

    Yes, I want to try Pro membership for 14 days for free. No strings attached.

    {% endif %}

    Recurring Payment

    diff --git a/rowers/templates/analysis.html b/rowers/templates/analysis.html index 8fd8ef83..6b959f44 100644 --- a/rowers/templates/analysis.html +++ b/rowers/templates/analysis.html @@ -13,7 +13,7 @@
    • Ranking Pieces

      - +
      Ranking Piece @@ -25,7 +25,7 @@
    • Stroke Analysis

      -
      +
      Stroke Analysis @@ -37,7 +37,7 @@
    • Power Histogram

      -
      +
      Power Histogram
      @@ -48,7 +48,7 @@
    • Statistics

      -
      +
      Statistics
      @@ -59,7 +59,7 @@
    • Box Chart

      -
      +
      Box Chart
      @@ -71,7 +71,7 @@
    • OTW Critical Power

      -
      +
      OTW Critical Power
      @@ -82,7 +82,7 @@
    • OTE Critical Power

      -
      +
      OTE Critical Power
      @@ -94,7 +94,7 @@
    • Trend Flex

      -
      +
      Trend Flex
      diff --git a/rowers/templates/flexchart3otw.html b/rowers/templates/flexchart3otw.html index e675ca2d..2eb32cf0 100644 --- a/rowers/templates/flexchart3otw.html +++ b/rowers/templates/flexchart3otw.html @@ -21,11 +21,11 @@

      {% if workout|previousworkout:rower.user %} - Previous  {% endif %} {% if workout|nextworkout:rower.user %} - Next {% endif %}

      @@ -61,12 +61,12 @@
      {% if favoritenr > 0 %} + href="/rowers/workout/{{ id }}/flexchart/?favoritechart={{ favoritenr|add:-1 }}"> {% else %} + href="/rowers/workout/{{ id }}/flexchart/?favoritechart={{ maxfav }}"> {% endif %} @@ -80,12 +80,12 @@ {% if favoritenr < maxfav %} + href="/rowers/workout/{{ id }}/flexchart/?favoritechart={{ favoritenr|add:1 }}"> {% else %} + href="/rowers/workout/{{ id }}/flexchart/?favoritechart=0"> {% endif %} diff --git a/rowers/templates/help.html b/rowers/templates/help.html index a755360d..d7835320 100644 --- a/rowers/templates/help.html +++ b/rowers/templates/help.html @@ -75,7 +75,7 @@ (CSV, FIT, TCX, etc). The details are described in this blog post. A straightforward way to upload your data is to use the - Upload Page. + Upload Page.

      @@ -142,7 +142,7 @@

      Teams

      - The Teams tab brings you to + The Teams tab brings you to functionality related to interaction with your team, if you are part of one.

      diff --git a/rowers/templates/list_courses.html b/rowers/templates/list_courses.html index 53648139..28b44e50 100644 --- a/rowers/templates/list_courses.html +++ b/rowers/templates/list_courses.html @@ -37,9 +37,9 @@ {{ course.country }} {% if course.manager.user == user %} - {{ course.name }} + {{ course.name }} {% else %} - {{ course.name }} + {{ course.name }} {% endif %} @@ -65,7 +65,7 @@

      - Add Courses + Add Courses

      {% if announcements %}

      What's New?

      @@ -90,7 +90,7 @@ to the total duration of a workout). This allows you to row and rank marked courses. - To create a course, you use Google Earth + To create a course, you use Google Earth to mark the start and finish lines using polygons. The process is identical to creating custom courses for the CrewNerd diff --git a/rowers/templates/list_workouts.html b/rowers/templates/list_workouts.html index f93e2d9f..7699a488 100644 --- a/rowers/templates/list_workouts.html +++ b/rowers/templates/list_workouts.html @@ -93,11 +93,11 @@

      {% if rankingonly and not team %} - + Show All Workouts {% elif not team %} - + Show Only Ranking Pieces {% endif %} @@ -129,7 +129,7 @@ {% if workouts.has_next %} {% if request.GET.q %} - + {% else %} - + @@ -215,15 +215,15 @@ {{ workout.maxhr }} {% if team %} - + {{ workout.user.user.first_name }} {{ workout.user.user.last_name }} {% endif %} - Flex + Flex - Delete + Delete diff --git a/rowers/templates/menu_analytics.html b/rowers/templates/menu_analytics.html index 1d018b69..f1475a76 100644 --- a/rowers/templates/menu_analytics.html +++ b/rowers/templates/menu_analytics.html @@ -1,6 +1,6 @@ {% load staticfiles %} {% load rowerfilters %} -

      Analysis

      +

      Analysis

      • @@ -8,17 +8,17 @@  Fitness
        • - +  Ranking Pieces
        • - +  CP Chart OTE
        • - +  CP Chart OTW
        • @@ -36,29 +36,29 @@
          • - +  Box Chart
          • - +  Trend Flex
          • - +  Statistics
          • - +  Power Histogram
        • - +  Cumulative Flex Chart
        • diff --git a/rowers/templates/menu_help.html b/rowers/templates/menu_help.html index 8e33ced9..197501df 100644 --- a/rowers/templates/menu_help.html +++ b/rowers/templates/menu_help.html @@ -1,7 +1,7 @@ -

          Help

          +

          Help

          • - +  Getting Started
          • @@ -11,7 +11,7 @@
          • - +  Contact
          • diff --git a/rowers/templates/menu_plan.html b/rowers/templates/menu_plan.html index 83b6b01c..c46e0c0f 100644 --- a/rowers/templates/menu_plan.html +++ b/rowers/templates/menu_plan.html @@ -1,6 +1,6 @@ {% load staticfiles %} {% load rowerfilters %} -

            Plan

            +

            Plan

            • diff --git a/rowers/templates/menu_profile.html b/rowers/templates/menu_profile.html index 90bd73b9..5da7d5fe 100644 --- a/rowers/templates/menu_profile.html +++ b/rowers/templates/menu_profile.html @@ -1,6 +1,6 @@ {% load staticfiles %} {% load rowerfilters %} -

              Profile

              +

              Profile

              • diff --git a/rowers/templates/menu_racing.html b/rowers/templates/menu_racing.html index c9c61cd8..c66bcd7f 100644 --- a/rowers/templates/menu_racing.html +++ b/rowers/templates/menu_racing.html @@ -1,34 +1,34 @@ -

                Racing

                +

                Racing

                • - +  Races
                • - +  New Race
                • - +  New Indoor Race
                • {% if race %} {% if results %}
                • - +  Compare Results
                • {% endif %} {% if reguest.user.is_anonymous %}
                • {% if race.sessiontype == 'race' %} - +  Register {% else %} - +  Register {% endif %}
                • @@ -37,51 +37,51 @@ {% if button == 'registerbutton' %}
                • {% if race.sessiontype == 'race' %} - +  Register {% else %} - +  Register {% endif %}
                • {% endif %} {% if button == 'submitbutton' %}
                • - +  Submit Workout
                • - +  Upload your race result
                • - +  Enter Result
                • {% endif %} {% if button == 'resubmitbutton' %}
                • - Submit New Result + Submit New Result
                • {% endif %} {% if button == 'withdrawbutton' %} - +  Withdraw {% endif %} {% if button == 'adddisciplinebutton' %} - +  Register New Boat {% endif %} {% if button == 'editbutton' %}
                • {% if race.sessiontype == 'race' %} -  Edit Race +  Edit Race {% else %} -  Edit Race +  Edit Race {% endif %}
                • @@ -89,7 +89,7 @@ {% endfor %} {% endif %}
                • - +  Courses
                • @@ -99,32 +99,32 @@
                  • - +  View
                  • - +  Map View
                  • {% if course.manager == rower %}
                  • - +  Download as KML
                  • - +  Edit
                  • {% if nosessions %}
                  • - +  Delete
                  • {% endif %}
                  • - +  Update Markers
                  • {% endif %} diff --git a/rowers/templates/menu_teams.html b/rowers/templates/menu_teams.html index dda6ce6d..84551097 100644 --- a/rowers/templates/menu_teams.html +++ b/rowers/templates/menu_teams.html @@ -1,16 +1,16 @@ {% load staticfiles %} {% load rowerfilters %} -

                    Teams

                    +

                    Teams

                    • - +  Overview
                    • {% if user|is_manager %}
                    • - +  New Team
                    • @@ -27,17 +27,17 @@
                      • - +  View
                      • - +  Edit
                      • - +  Member Stats
                      • @@ -47,12 +47,12 @@
                      • - +  Leave
                      • - +  Delete
                      • @@ -72,7 +72,7 @@
                        • - +  View
                        • @@ -82,7 +82,7 @@
                        • - +  Leave
                        • diff --git a/rowers/templates/menu_workout.html b/rowers/templates/menu_workout.html index 093b9b6d..01a372b7 100644 --- a/rowers/templates/menu_workout.html +++ b/rowers/templates/menu_workout.html @@ -7,53 +7,53 @@
                          • {% if user.is_authenticated and workout|may_edit:request %} - +  View {% else %} - +  View {% endif %}
                          • {% if user.is_authenticated and workout|may_edit:request %}
                          • - +  Edit
                          • - +  Intervals
                          • {% endif %} {% if user.is_authenticated %}
                          • - +  Comments ({{ workout|aantalcomments }})
                          • {% endif %}
                          • - +  Statistics
                          • - +  Compare
                          • {% if user.is_authenticated and workout|may_edit:request %}
                          • - +  Upload Image
                          • - +  Delete
                          • @@ -65,23 +65,23 @@
                            • - +  Flex Chart
                            • {% if workout|water %}
                            • - +  Map
                            • - +  Force Curve
                            • - +  Corrected Pace Plot
                            • @@ -94,28 +94,28 @@
                              • - +  Time
                              • - +  Distance
                              • - +  Power (Pie)
                              • - +  Heart Rate (Pie)
                              • {% if workout|water %}
                              • - +  OTW Power
                              • @@ -136,7 +136,7 @@ Connect to Concept2 {% else %} - + Concept2 {% endif %} @@ -151,7 +151,7 @@ Connect to Strava {% else %} - + Strava {% endif %} @@ -166,7 +166,7 @@ Connect to SportTracks {% else %} - + SportTracks {% endif %} @@ -181,7 +181,7 @@ Connect to Runkeeper {% else %} - + Runkeeper {% endif %} @@ -196,7 +196,7 @@ Connect to MapMyFitness {% else %} - + MapMyFitness {% endif %} @@ -211,23 +211,23 @@ Connect to TrainingPeaks {% else %} - + TrainingPeaks {% endif %}
                              • - + CSV
                              • - + GPX
                              • - + TCX
                              • @@ -238,12 +238,12 @@
                                • - +  Smoothen
                                • - +  Restore Raw
                                • @@ -253,12 +253,12 @@
                                • - +  Split Workout
                                • - +  Explore Raw Data
                                @@ -269,28 +269,28 @@
                                  {% if workout|water %}
                                • - +  Wind
                                • - +  Stream
                                • - +  OTW Power
                                • {% endif %}
                                • - +  In-Stroke Metrics
                                • - +  Update Summary
                                • diff --git a/rowers/templates/menu_workouts.html b/rowers/templates/menu_workouts.html index 1721f0bd..f7e2cd66 100644 --- a/rowers/templates/menu_workouts.html +++ b/rowers/templates/menu_workouts.html @@ -1,12 +1,12 @@ {% load staticfiles %} {% load rowerfilters %} -

                                  Workouts

                                  +

                                  Workouts

                                  • -  Workouts List +  Workouts List
                                  • -  Charts +  Charts
                                  • {% if team %} @@ -23,9 +23,9 @@
                                  • {% if user|is_promember %} - + {% else %} - + {% endif %}  Glue Workouts @@ -35,12 +35,12 @@
                                      -
                                    • Concept2
                                    • -
                                    • Strava
                                    • -
                                    • RunKeeper
                                    • -
                                    • SportTracks
                                    • -
                                    • MapMyFitness
                                    • -
                                    • Polar
                                    • +
                                    • Concept2
                                    • +
                                    • Strava
                                    • +
                                    • RunKeeper
                                    • +
                                    • SportTracks
                                    • +
                                    • MapMyFitness
                                    • +
                                    • Polar
                                  diff --git a/rowers/templates/oterankings.html b/rowers/templates/oterankings.html index 68f3e313..628bb9b1 100644 --- a/rowers/templates/oterankings.html +++ b/rowers/templates/oterankings.html @@ -97,7 +97,7 @@ {{ workout.averagehr }} {{ workout.maxhr }} - {{ workout.name }} + {{ workout.name }} diff --git a/rowers/templates/otwrankings.html b/rowers/templates/otwrankings.html index 5ca5321e..e51aad90 100644 --- a/rowers/templates/otwrankings.html +++ b/rowers/templates/otwrankings.html @@ -96,7 +96,7 @@ {{ workout.averagehr }} {{ workout.maxhr }} - {{ workout.name }} + {{ workout.name }} diff --git a/rowers/templates/paidplans.html b/rowers/templates/paidplans.html index 331792e9..3ad4c821 100644 --- a/rowers/templates/paidplans.html +++ b/rowers/templates/paidplans.html @@ -180,11 +180,11 @@ {% if user.is_anonymous %} {% elif rower and rower.rowerplan == 'basic' and rower.protrialexpires|date_dif == 1 %} {% else %}   @@ -193,11 +193,11 @@ {% if user.is_anonymous %} {% elif rower and rower.rowerplan == 'basic' and rower.plantrialexpires|date_dif == 1 %} {% else %}   @@ -217,16 +217,16 @@ {% if user.is_anonymous %} {% elif rower and rower.rowerplan == 'basic' %} @@ -235,9 +235,9 @@ @@ -247,9 +247,9 @@ @@ -259,9 +259,9 @@ diff --git a/rowers/templates/plannedsessioncreate.html b/rowers/templates/plannedsessioncreate.html index 1e7b0900..93f6ba61 100644 --- a/rowers/templates/plannedsessioncreate.html +++ b/rowers/templates/plannedsessioncreate.html @@ -62,10 +62,10 @@ {% if ps.name != '' %} {{ ps.name }} + href="/rowers/sessions/{{ ps.id }}/">{{ ps.name }} {% else %} Unnamed Session + href="/rowers/sessions/{{ ps.id }}/">Unnamed Session {% endif %} {{ ps.sessionvalue }} @@ -78,7 +78,7 @@ - Delete + Delete {% endfor %} diff --git a/rowers/templates/plannedsessionteamcreate.html b/rowers/templates/plannedsessionteamcreate.html index 0a437804..534e2602 100644 --- a/rowers/templates/plannedsessionteamcreate.html +++ b/rowers/templates/plannedsessionteamcreate.html @@ -65,23 +65,23 @@ {% if ps.name != '' %} {{ ps.name }} + href="/rowers/sessions/{{ ps.id }}/">{{ ps.name }} {% else %} Unnamed Session + href="/rowers/sessions/{{ ps.id }}/">Unnamed Session {% endif %} {{ ps.sessionvalue }} {{ ps.sessionunit }} - Edit + Edit - Clone + Clone - Delete + Delete {% endfor %} diff --git a/rowers/templates/promembership.html b/rowers/templates/promembership.html index 391d9f51..9d87da11 100644 --- a/rowers/templates/promembership.html +++ b/rowers/templates/promembership.html @@ -154,12 +154,12 @@ sign up for the trial. After your trial period expires, you will be automatically reset to the Basic plan, unless you upgrade to Pro.

                                  -

                                  Yes, I want to try Pro membership for 14 days for free. No strings attached.

                                  -

                                  Yes, I want to try Self-Coach membership for 14 days for free. No strings attached.

                                  +

                                  Yes, I want to try Pro membership for 14 days for free. No strings attached.

                                  +

                                  Yes, I want to try Self-Coach membership for 14 days for free. No strings attached.

                                  {% endif %}
                                • -

                                  Click on the PayPal button to pay for your Pro membership. Before you pay, please register for the free Basic membership and add your user name to the form. +

                                  Click on the PayPal button to pay for your Pro membership. Before you pay, please register for the free Basic membership and add your user name to the form. Your payment will be valid for one year. You will be taken to the secure PayPal payment site.

                                  diff --git a/rowers/templates/rankings.html b/rowers/templates/rankings.html index ee1bc30b..fbdf682b 100644 --- a/rowers/templates/rankings.html +++ b/rowers/templates/rankings.html @@ -73,7 +73,7 @@ {{ workout.averagehr }} {{ workout.maxhr }} - + {{ workout.name }} @@ -90,13 +90,13 @@

                                  Missing your best pieces? Upload stroke data of any Concept2 ranking piece and they will be automatically added to this page.

                                  Don't have stroke data for official Concept2 ranking pieces? - The PRO membership ranking piece functionality + The PRO membership ranking piece functionality allows you to include your best non ranking pieces and even use parts of workouts for improved calculation accuracy.

                                  Want to add race results but you don't have stroke data? - Click here.

                                  + Click here.

                                  Scroll down for the chart and pace predictions for ranking pieces.

                                  @@ -207,91 +207,91 @@ 100m + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/100m/">100m 500m + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/500m/">500m 1000m + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/1000m/">1000m 2000m + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/2000m/">2000m 5000m + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/5000m/">5000m 6000m + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/6000m/">6000m 10000m + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/10000m/">10000m Half Marathon + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/21097m/">Half Marathon Full Marathon + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/42195m/">Full Marathon 1 minute + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/1min/">1 minute 4 minutes + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/4min/">4 minutes 30 minutes + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/30min/">30 minutes 1 hour + href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/60min/">1 hour diff --git a/rowers/templates/registration/login.html b/rowers/templates/registration/login.html index eef08c5e..aa650e83 100644 --- a/rowers/templates/registration/login.html +++ b/rowers/templates/registration/login.html @@ -25,7 +25,7 @@ -

                                  Register New User

                                  +

                                  Register New User

                                  diff --git a/rowers/templates/registration_form.html b/rowers/templates/registration_form.html index e09e9365..6ddf9632 100644 --- a/rowers/templates/registration_form.html +++ b/rowers/templates/registration_form.html @@ -22,7 +22,7 @@ {{ form.as_table }}
                                  - Terms of Service + Terms of Service diff --git a/rowers/templates/rower_form.html b/rowers/templates/rower_form.html index b58f18fb..df55dc5b 100644 --- a/rowers/templates/rower_form.html +++ b/rowers/templates/rower_form.html @@ -54,7 +54,7 @@ {% csrf_token %} {% if rower.clubsize < 100 and rower.user == user %}

                                  - Upgrade + Upgrade

                                  {% else %}

                                  @@ -63,7 +63,7 @@ {% endif %} {% if rower.rowerplan != 'basic' and rower.user == user %}

                                  - Cancel Subscription + Cancel Subscription

                                  {% endif %} @@ -73,13 +73,13 @@
                                • GDPR - Data Protection

                                  - Download your data + Download your data

                                  - Deactivate Account + Deactivate Account

                                  - Delete Account + Delete Account

                                • @@ -99,7 +99,7 @@ {{ grant.application }} {{ grant.scope }} - Revoke + Revoke {% endfor %} diff --git a/rowers/templates/summary_edit.html b/rowers/templates/summary_edit.html index 32d7b067..b40482cd 100644 --- a/rowers/templates/summary_edit.html +++ b/rowers/templates/summary_edit.html @@ -8,11 +8,11 @@ {% block main %}

                                  {% if workout|previousworkout:rower.user %} - Previous  {% endif %} {% if workout|nextworkout:rower.user %} - Next {% endif %}

                                  @@ -30,7 +30,7 @@ Public link to this workout - https://rowsandall.com/rowers/workout/{{ workout.id }} + https://rowsandall.com/rowers/workout/{{ workout.id }} @@ -89,7 +89,7 @@ Reset to last saved   - Restore Original data + Restore Original data

                                  diff --git a/rowers/templates/team.html b/rowers/templates/team.html index 35d82bc5..24085d5b 100644 --- a/rowers/templates/team.html +++ b/rowers/templates/team.html @@ -16,13 +16,13 @@

                                  You have requested access to this team

                                  {% elif team not in myteams and team not in memberteams %}

                                  You can request access to this team. By requesting access, you - agree to the Privacy Policy regarding + agree to the Privacy Policy regarding team functionality. You agree to share your workout data (except workouts marked as "private") to all team members and the team manager. You also grant the team manager access to your heart rate and power zone settings, as well as your functional threshold information. You are granting the team manager permission to edit your workouts.

                                  - Join + Join A request will be sent to the team manager {% endif %}
                                • @@ -38,9 +38,9 @@ {% for member in members %} - {{ member.user.first_name }} {{ member.user.last_name }} + {{ member.user.first_name }} {{ member.user.last_name }} {% if team.manager == user %} - Drop + Drop {% else %}   {% endif %} diff --git a/rowers/templates/teams.html b/rowers/templates/teams.html index e3094b70..7db3247f 100644 --- a/rowers/templates/teams.html +++ b/rowers/templates/teams.html @@ -21,7 +21,7 @@ {{ team.name }} - Leave + Leave {% endfor %} @@ -76,14 +76,14 @@ {{ team.name }} - Delete + Delete {% endfor %} {% endif %} - New Team + New Team {% endif %} {% if invites or requests or myrequests or myinvites %} @@ -92,11 +92,11 @@

                                  This section lists open invites to join a team. By accepting a team invite, you are agreeing with the sharing of personal data between team members and coaches according to - our privacy policy. + our privacy policy.

                                  As a team manager, by accepting a team invite, you are agreeing - with our privacy policy regarding teams and + with our privacy policy regarding teams and personal data owned by team members.

                                  @@ -112,39 +112,39 @@ {% for i in invites %} - + - {% endfor %} {% for i in requests %} - + - {% endfor %} {% for i in myrequests %} - + - {% endfor %} {% for i in myinvites %} - + {% if i.user %} @@ -153,7 +153,7 @@ {% endif %} {% endfor %} diff --git a/rowers/templates/windedit.html b/rowers/templates/windedit.html index 933f5705..e509ff2e 100644 --- a/rowers/templates/windedit.html +++ b/rowers/templates/windedit.html @@ -41,9 +41,9 @@
                                • Closest Airport Weather: {{ airport }} ({{ airportdistance | floatformat:-1 }} km) - Airport Data

                                  + Airport Data

                                  - Dark Sky Data + Dark Sky Data

                                  Download wind speed and bearing from The Dark Sky

                                  diff --git a/rowers/templates/workflowconfig.html b/rowers/templates/workflowconfig.html index d5795eb4..d4dc7988 100644 --- a/rowers/templates/workflowconfig.html +++ b/rowers/templates/workflowconfig.html @@ -12,7 +12,7 @@ {% if workoutid %}

                                  - Return to Workout + Return to Workout

                                  {% endif %} diff --git a/rowers/templates/workflowconfig2.html b/rowers/templates/workflowconfig2.html index 5d8e2bf3..9dff8e1a 100644 --- a/rowers/templates/workflowconfig2.html +++ b/rowers/templates/workflowconfig2.html @@ -13,7 +13,7 @@ {% if workoutid %}
                                • - Return to Workout + Return to Workout

                                • {% endif %} @@ -35,10 +35,10 @@
                                • {% if rower.defaultlandingpage == 'workout_edit_view' %}

                                  Default landing page is Edit View. Set default landing page to

                                  - Workflow View + Workflow View {% else %}

                                  Default landing page is Workflow View. Set default landing page to

                                  - Edit View + Edit View {% endif %}
                                • diff --git a/rowers/templates/workout_comments.html b/rowers/templates/workout_comments.html index 10c88061..1eae9f00 100644 --- a/rowers/templates/workout_comments.html +++ b/rowers/templates/workout_comments.html @@ -12,11 +12,11 @@ {% block main %}

                                  {% if workout|previousworkout:rower.user %} - Previous  {% endif %} {% if workout|nextworkout:rower.user %} - Next {% endif %}

                                  @@ -38,7 +38,7 @@
                                  {{ i.team.name }}{{ i.team.name }} {{ i.team.manager.first_name }} {{ i.team.manager.last_name }} {{ user.first_name }} {{ user.last_name }}Accept + Accept - Reject + Reject
                                  {{ i.team.name }}{{ i.team.name }} {{ i.team.manager.first_name }} {{ i.team.manager.last_name }} {{ user.first_name }} {{ user.last_name }} Revoke + Revoke
                                  {{ i.team.name }}{{ i.team.name }} {{ i.team.manager.first_name }} {{ i.team.manager.last_name }} {{ i.user.first_name }} {{ i.user.last_name }}Accept + Accept - Reject + Reject
                                  {{ i.team.name }}{{ i.team.name }} {{ i.team.manager.first_name }} {{ i.team.manager.last_name }}{{ i.user.first_name }} {{ i.user.last_name }}  - Revoke + Revoke
                                  Public link to this workout - https://rowsandall.com/rowers/workout/{{ workout.id }} + https://rowsandall.com/rowers/workout/{{ workout.id }}/
                                  diff --git a/rowers/templates/workout_form.html b/rowers/templates/workout_form.html index 59136d08..155759f0 100644 --- a/rowers/templates/workout_form.html +++ b/rowers/templates/workout_form.html @@ -43,11 +43,11 @@ $('#id_workouttype').change();

                                  {% if workout|previousworkout:rower.user %} - Previous  {% endif %} {% if workout|nextworkout:rower.user %} - Next {% endif %}

                                  @@ -57,7 +57,7 @@ $('#id_workouttype').change();
                                • Share
                                  @@ -86,7 +86,7 @@ $('#id_workouttype').change(); Public link to this workout: - https://rowsandall.com/rowers/workout/{{ workout.id }} + https://rowsandall.com/rowers/workout/{{ workout.id }}/ @@ -123,7 +123,7 @@ $('#id_workouttype').change();

                                  Racing

                                  {% for race in indoorraces %}

                                  - Submit this to Indoor Race {{ race.name }} + Submit this to Indoor Race {{ race.name }}

                                  {% endfor %}
                                • diff --git a/rowers/templates/workout_view.html b/rowers/templates/workout_view.html index 2bf749df..0252f485 100644 --- a/rowers/templates/workout_view.html +++ b/rowers/templates/workout_view.html @@ -42,7 +42,7 @@ {% for record in records %}

                                  This workout was a race. See race result here: - {{ record.race.name }} + {{ record.race.name }}

                                  {% endfor %} {% endif %} @@ -50,7 +50,7 @@ {% for record in recordsindoor %}

                                  This workout was a race. See race result here: - {{ record.race.name }} + {{ record.race.name }}

                                  {% endfor %} {% endif %} @@ -94,7 +94,7 @@ Comments - Comment ({{ aantalcomments }}) + Comment ({{ aantalcomments }}) {% endif %} diff --git a/rowers/templatetags/rowerfilters.py b/rowers/templatetags/rowerfilters.py index 207363ce..fc70957e 100644 --- a/rowers/templatetags/rowerfilters.py +++ b/rowers/templatetags/rowerfilters.py @@ -399,7 +399,7 @@ def is_final(race): @register.filter def userurl(path,member): pattern = re.compile('user\/\d+') - userstring = 'user/%s' % member.id + userstring = 'user/%s/' % member.id # remove team tpattern = re.compile('\/team\/\d+') @@ -416,7 +416,7 @@ def userurl(path,member): @register.filter def teamurl(path,team): pattern = re.compile('team\/\d+') - teamstring = 'team/%s' % team.id + teamstring = 'team/%s/' % team.id # remove user upattern = re.compile('\/user\/\d+') diff --git a/rowers/tests/test_urls.py b/rowers/tests/test_urls.py index 6d568e3f..d589c0e1 100644 --- a/rowers/tests/test_urls.py +++ b/rowers/tests/test_urls.py @@ -40,11 +40,15 @@ from rowers import urls from rowers.views import error500_view,error404_view,error400_view,error403_view from rowers.dataprep import delete_strokedata - +from rowers.tests.mocks import * from redis import StrictRedis redis_connection = StrictRedis() +tested = [ + '/rowers/me/delete/' +] + #@pytest.mark.django_db class URLTests(TestCase): def setUp(self): @@ -182,7 +186,7 @@ class URLTests(TestCase): '/rowers/partners/', '/rowers/physics/', '/rowers/planrequired/', - '/rowers/promembership/', +# '/rowers/promembership/', '/rowers/register/', '/rowers/register/thankyou/', '/rowers/sessions/', @@ -263,7 +267,7 @@ class URLTests(TestCase): '/rowers/workout/1/view/', '/rowers/workout/1/wind/', '/rowers/workout/1/workflow/', - '/rowers/workout/compare/1/2016-01-01/2016-12-31/', +# '/rowers/workout/compare/1/2016-01-01/2016-12-31/', '/rowers/workout/fusion/1/', '/rowers/workout/fusion/1/2016-01-01/2016-12-31/', '/rowers/workout/upload/', @@ -280,22 +284,46 @@ class URLTests(TestCase): lijst.append( (url,200) ) + @parameterized.expand(lijst) @patch('rowers.dataprep.create_engine') @patch('rowers.dataprep.read_df_sql') @patch('rowers.dataprep.getsmallrowdata_db') + @patch('requests.get',side_effect=mocked_requests) + @patch('requests.post',side_effect=mocked_requests) def test_url_generator(self,url,expected, mocked_sqlalchemy, mocked_read_df_sql, - mocked_getsmallrowdata_db): - login = self.c.login(username='john',password='koeinsloot') - self.assertTrue(login) - response = self.c.get(url,follow=True) - if response.status_code != expected: - print url - print response.status_code - self.assertEqual(response.status_code, + mocked_getsmallrowdata_db, + mock_get, + mock_post): + + if url not in tested: + login = self.c.login(username='john',password='koeinsloot') + self.assertTrue(login) + response = self.c.get(url,follow=True) + if response.status_code != expected: + print url + print response.status_code + self.assertEqual(response.status_code, expected) + + html = BeautifulSoup(response.content,'html.parser') + urls = [a['href'] for a in html.find_all('a')] + + for u in urls: + if u not in tested and 'rowers' in u and 'http' not in u and 'authorize' not in u and 'import' not in u and 'logout' not in u: + response = self.c.get(u) + if response.status_code != 200: + print len(tested) + print url + print u + print response.status_code + tested.append(u) + self.assertIn(response.status_code, + [200,302]) + else: + tested.append(u) diff --git a/rowers/tests/testdata/testdata.csv.gz b/rowers/tests/testdata/testdata.csv.gz index 6e920ea0..557cb816 100644 Binary files a/rowers/tests/testdata/testdata.csv.gz and b/rowers/tests/testdata/testdata.csv.gz differ diff --git a/rowers/tests/testdata/testdata.gpx b/rowers/tests/testdata/testdata.gpx new file mode 100644 index 00000000..462f2508 --- /dev/null +++ b/rowers/tests/testdata/testdata.gpx @@ -0,0 +1,574 @@ +Garmin International2016-05-20T15:41:26Export by rowingdata + 2016-05-20T13:41:26+00:00 + + + 2016-05-20T13:41:29.238150+00:00 + + + 2016-05-20T13:41:32.148290+00:00 + + + 2016-05-20T13:41:35.269000+00:00 + + + 2016-05-20T13:41:38.152180+00:00 + + + 2016-05-20T13:41:41.148270+00:00 + + + 2016-05-20T13:41:44.148910+00:00 + + + 2016-05-20T13:41:46.908250+00:00 + + + 2016-05-20T13:41:49.819010+00:00 + + + 2016-05-20T13:41:52.942510+00:00 + + + 2016-05-20T13:41:55.639670+00:00 + + + 2016-05-20T13:41:58.370000+00:00 + + + 2016-05-20T13:42:01.188270+00:00 + + + 2016-05-20T13:42:04.008300+00:00 + + + 2016-05-20T13:42:06.888990+00:00 + + + 2016-05-20T13:42:09.678900+00:00 + + + 2016-05-20T13:42:12.469140+00:00 + + + 2016-05-20T13:42:15.199010+00:00 + + + 2016-05-20T13:42:17.963080+00:00 + + + 2016-05-20T13:42:20.658340+00:00 + + + 2016-05-20T13:42:23.538800+00:00 + + + 2016-05-20T13:42:26.269790+00:00 + + + 2016-05-20T13:42:28.848350+00:00 + + + 2016-05-20T13:42:31.729550+00:00 + + + 2016-05-20T13:42:34.398400+00:00 + + + 2016-05-20T13:42:37.038360+00:00 + + + 2016-05-20T13:42:39.499250+00:00 + + + 2016-05-20T13:42:42.349070+00:00 + + + 2016-05-20T13:42:45.079070+00:00 + + + 2016-05-20T13:42:47.752890+00:00 + + + 2016-05-20T13:42:50.452350+00:00 + + + 2016-05-20T13:42:53.182630+00:00 + + + 2016-05-20T13:42:55.789410+00:00 + + + 2016-05-20T13:42:58.671890+00:00 + + + 2016-05-20T13:43:01.338860+00:00 + + + 2016-05-20T13:43:04.068490+00:00 + + + 2016-05-20T13:43:06.862620+00:00 + + + 2016-05-20T13:43:09.618500+00:00 + + + 2016-05-20T13:43:12.379160+00:00 + + + 2016-05-20T13:43:15.229200+00:00 + + + 2016-05-20T13:43:17.963150+00:00 + + + 2016-05-20T13:43:20.692490+00:00 + + + 2016-05-20T13:43:23.628520+00:00 + + + 2016-05-20T13:43:26.329210+00:00 + + + 2016-05-20T13:43:29.148960+00:00 + + + 2016-05-20T13:43:31.668570+00:00 + + + 2016-05-20T13:43:34.490920+00:00 + + + 2016-05-20T13:43:37.369250+00:00 + + + 2016-05-20T13:43:40.189230+00:00 + + + 2016-05-20T13:43:42.798860+00:00 + + + 2016-05-20T13:43:45.708750+00:00 + + + 2016-05-20T13:43:48.318590+00:00 + + + 2016-05-20T13:43:51.199500+00:00 + + + 2016-05-20T13:43:53.869290+00:00 + + + 2016-05-20T13:43:56.572490+00:00 + + + 2016-05-20T13:43:59.212410+00:00 + + + 2016-05-20T13:44:01.912890+00:00 + + + 2016-05-20T13:44:04.459350+00:00 + + + 2016-05-20T13:44:07.249360+00:00 + + + 2016-05-20T13:44:09.949930+00:00 + + + 2016-05-20T13:44:12.619870+00:00 + + + 2016-05-20T13:44:15.378800+00:00 + + + 2016-05-20T13:44:18.049420+00:00 + + + 2016-05-20T13:44:20.719440+00:00 + + + 2016-05-20T13:44:23.298970+00:00 + + + 2016-05-20T13:44:26.178820+00:00 + + + 2016-05-20T13:44:28.669980+00:00 + + + 2016-05-20T13:44:31.429270+00:00 + + + 2016-05-20T13:44:34.042790+00:00 + + + 2016-05-20T13:44:36.589070+00:00 + + + 2016-05-20T13:44:39.412800+00:00 + + + 2016-05-20T13:44:42.078870+00:00 + + + 2016-05-20T13:44:44.783760+00:00 + + + 2016-05-20T13:44:47.450710+00:00 + + + 2016-05-20T13:44:50.149400+00:00 + + + 2016-05-20T13:44:52.789720+00:00 + + + 2016-05-20T13:44:55.429750+00:00 + + + 2016-05-20T13:44:58.069700+00:00 + + + 2016-05-20T13:45:00.742790+00:00 + + + 2016-05-20T13:45:03.442700+00:00 + + + 2016-05-20T13:45:06.139610+00:00 + + + 2016-05-20T13:45:08.689490+00:00 + + + 2016-05-20T13:45:11.479530+00:00 + + + 2016-05-20T13:45:14.119610+00:00 + + + 2016-05-20T13:45:16.792860+00:00 + + + 2016-05-20T13:45:19.368950+00:00 + + + 2016-05-20T13:45:22.158960+00:00 + + + 2016-05-20T13:45:24.889580+00:00 + + + 2016-05-20T13:45:27.558940+00:00 + + + 2016-05-20T13:45:30.469760+00:00 + + + 2016-05-20T13:45:33.259860+00:00 + + + 2016-05-20T13:45:36.079590+00:00 + + + 2016-05-20T13:45:38.899560+00:00 + + + 2016-05-20T13:45:41.689980+00:00 + + + 2016-05-20T13:45:44.568940+00:00 + + + 2016-05-20T13:45:47.329670+00:00 + + + 2016-05-20T13:45:50.149560+00:00 + + + 2016-05-20T13:45:52.969660+00:00 + + + 2016-05-20T13:45:55.879910+00:00 + + + 2016-05-20T13:45:58.789690+00:00 + + + 2016-05-20T13:46:01.729660+00:00 + + + 2016-05-20T13:46:04.669610+00:00 + + + 2016-05-20T13:46:07.549730+00:00 + + + 2016-05-20T13:46:10.458930+00:00 + + + 2016-05-20T13:46:13.488980+00:00 + + + 2016-05-20T13:46:16.429320+00:00 + + + 2016-05-20T13:46:19.519650+00:00 + + + 2016-05-20T13:46:22.459630+00:00 + + + 2016-05-20T13:46:25.338880+00:00 + + + 2016-05-20T13:46:28.459530+00:00 + + + 2016-05-20T13:46:31.401590+00:00 + + + 2016-05-20T13:46:34.339560+00:00 + + + 2016-05-20T13:46:37.309450+00:00 + + + 2016-05-20T13:46:40.098920+00:00 + + + 2016-05-20T13:46:43.039950+00:00 + + + 2016-05-20T13:46:46.039490+00:00 + + + 2016-05-20T13:46:48.979630+00:00 + + + 2016-05-20T13:46:51.949590+00:00 + + + 2016-05-20T13:46:54.709590+00:00 + + + 2016-05-20T13:46:57.589710+00:00 + + + 2016-05-20T13:47:00.503120+00:00 + + + 2016-05-20T13:47:03.408950+00:00 + + + 2016-05-20T13:47:06.323410+00:00 + + + 2016-05-20T13:47:09.229670+00:00 + + + 2016-05-20T13:47:12.198960+00:00 + + + 2016-05-20T13:47:15.079930+00:00 + + + 2016-05-20T13:47:17.989660+00:00 + + + 2016-05-20T13:47:20.959680+00:00 + + + 2016-05-20T13:47:23.869730+00:00 + + + 2016-05-20T13:47:26.782970+00:00 + + + 2016-05-20T13:47:29.688910+00:00 + + + 2016-05-20T13:47:32.539570+00:00 + + + 2016-05-20T13:47:35.449720+00:00 + + + 2016-05-20T13:47:38.329080+00:00 + + + 2016-05-20T13:47:41.148960+00:00 + + + 2016-05-20T13:47:44.088880+00:00 + + + 2016-05-20T13:47:47.150600+00:00 + + + 2016-05-20T13:47:50.029750+00:00 + + + 2016-05-20T13:47:52.998850+00:00 + + + 2016-05-20T13:47:55.880360+00:00 + + + 2016-05-20T13:47:58.789400+00:00 + + + 2016-05-20T13:48:01.639760+00:00 + + + 2016-05-20T13:48:04.492770+00:00 + + + 2016-05-20T13:48:07.429530+00:00 + + + 2016-05-20T13:48:10.373270+00:00 + + + 2016-05-20T13:48:13.309500+00:00 + + + 2016-05-20T13:48:16.279570+00:00 + + + 2016-05-20T13:48:19.160740+00:00 + + + 2016-05-20T13:48:21.948820+00:00 + + + 2016-05-20T13:48:25.039520+00:00 + + + 2016-05-20T13:48:27.949340+00:00 + + + 2016-05-20T13:48:30.890880+00:00 + + + 2016-05-20T13:48:33.648790+00:00 + + + 2016-05-20T13:48:36.770050+00:00 + + + 2016-05-20T13:48:39.499600+00:00 + + + 2016-05-20T13:48:42.559140+00:00 + + + 2016-05-20T13:48:45.439020+00:00 + + + 2016-05-20T13:48:48.439810+00:00 + + + 2016-05-20T13:48:51.379570+00:00 + + + 2016-05-20T13:48:54.259600+00:00 + + + 2016-05-20T13:48:57.139300+00:00 + + + 2016-05-20T13:49:00.049550+00:00 + + + 2016-05-20T13:49:02.838790+00:00 + + + 2016-05-20T13:49:05.839540+00:00 + + + 2016-05-20T13:49:08.749400+00:00 + + + 2016-05-20T13:49:11.689540+00:00 + + + 2016-05-20T13:49:14.538900+00:00 + + + 2016-05-20T13:49:17.389440+00:00 + + + 2016-05-20T13:49:20.058880+00:00 + + + 2016-05-20T13:49:23.059530+00:00 + + + 2016-05-20T13:49:25.880610+00:00 + + + 2016-05-20T13:49:28.608730+00:00 + + + 2016-05-20T13:49:31.582600+00:00 + + + 2016-05-20T13:49:34.278700+00:00 + + + 2016-05-20T13:49:37.068660+00:00 + + + 2016-05-20T13:49:40.039460+00:00 + + + 2016-05-20T13:49:42.889790+00:00 + + + 2016-05-20T13:49:45.772580+00:00 + + + 2016-05-20T13:49:48.708690+00:00 + + + 2016-05-20T13:49:51.679450+00:00 + + + 2016-05-20T13:49:54.499470+00:00 + + + 2016-05-20T13:49:57.409440+00:00 + + + 2016-05-20T13:50:00.439330+00:00 + + + 2016-05-20T13:50:03.408680+00:00 + + + 2016-05-20T13:50:06.378680+00:00 + + + 2016-05-20T13:50:09.168860+00:00 + + + 2016-05-20T13:50:12.229650+00:00 + + + 2016-05-20T13:50:15.138650+00:00 + + + 2016-05-20T13:50:18.049470+00:00 + + + 2016-05-20T13:50:20.959460+00:00 + + + 2016-05-20T13:50:23.242360+00:00 + + \ No newline at end of file diff --git a/rowers/tests/testdata/testdata.tcx b/rowers/tests/testdata/testdata.tcx new file mode 100644 index 00000000..4b1b7907 --- /dev/null +++ b/rowers/tests/testdata/testdata.tcx @@ -0,0 +1,2523 @@ + + + + + 2016-05-20T13:41:26.962390+00:00 + + 537 + 2000 + 1 + + 148 + + + 156 + + Active + 21 + Manual + + + 2016-05-20T13:41:26+00:00 + 5.4 + + 127 + + 0 + + + 19 + + + + + 2016-05-20T13:41:29.238150+00:00 + 13.1 + + 127 + + 19 + + + 26 + + + + + 2016-05-20T13:41:32.148290+00:00 + 21.0 + + 128 + + 20 + + + 45 + + + + + 2016-05-20T13:41:35.269000+00:00 + 30.3 + + 129 + + 20 + + + 64 + + + + + 2016-05-20T13:41:38.152180+00:00 + 39.0 + + 130 + + 20 + + + 74 + + + + + 2016-05-20T13:41:41.148270+00:00 + 48.2 + + 131 + + 21 + + + 80 + + + + + 2016-05-20T13:41:44.148910+00:00 + 57.6 + + 131 + + 20 + + + 83 + + + + + 2016-05-20T13:41:46.908250+00:00 + 66.4 + + 132 + + 20 + + + 87 + + + + + 2016-05-20T13:41:49.819010+00:00 + 75.5 + + 132 + + 21 + + + 86 + + + + + 2016-05-20T13:41:52.942510+00:00 + 85.1 + + 132 + + 20 + + + 88 + + + + + 2016-05-20T13:41:55.639670+00:00 + 95.0 + + 132 + + 21 + + + 100 + + + + + 2016-05-20T13:41:58.370000+00:00 + 105.0 + + 133 + + 22 + + + 127 + + + + + 2016-05-20T13:42:01.188270+00:00 + 115.3 + + 134 + + 21 + + + 135 + + + + + 2016-05-20T13:42:04.008300+00:00 + 125.8 + + 135 + + 21 + + + 139 + + + + + 2016-05-20T13:42:06.888990+00:00 + 136.6 + + 136 + + 21 + + + 146 + + + + + 2016-05-20T13:42:09.678900+00:00 + 147.2 + + 137 + + 22 + + + 150 + + + + + 2016-05-20T13:42:12.469140+00:00 + 157.6 + + 139 + + 22 + + + 152 + + + + + 2016-05-20T13:42:15.199010+00:00 + 167.8 + + 140 + + 21 + + + 146 + + + + + 2016-05-20T13:42:17.963080+00:00 + 178.5 + + 140 + + 22 + + + 150 + + + + + 2016-05-20T13:42:20.658340+00:00 + 188.5 + + 141 + + 21 + + + 155 + + + + + 2016-05-20T13:42:23.538800+00:00 + 199.3 + + 141 + + 21 + + + 148 + + + + + 2016-05-20T13:42:26.269790+00:00 + 209.4 + + 142 + + 22 + + + 151 + + + + + 2016-05-20T13:42:28.848350+00:00 + 219.4 + + 142 + + 22 + + + 151 + + + + + 2016-05-20T13:42:31.729550+00:00 + 230.2 + + 143 + + 22 + + + 148 + + + + + 2016-05-20T13:42:34.398400+00:00 + 240.2 + + 144 + + 22 + + + 147 + + + + + 2016-05-20T13:42:37.038360+00:00 + 250.1 + + 145 + + 23 + + + 150 + + + + + 2016-05-20T13:42:39.499250+00:00 + 259.6 + + 145 + + 23 + + + 152 + + + + + 2016-05-20T13:42:42.349070+00:00 + 270.3 + + 145 + + 23 + + + 152 + + + + + 2016-05-20T13:42:45.079070+00:00 + 280.6 + + 145 + + 22 + + + 149 + + + + + 2016-05-20T13:42:47.752890+00:00 + 290.7 + + 144 + + 22 + + + 150 + + + + + 2016-05-20T13:42:50.452350+00:00 + 300.8 + + 145 + + 23 + + + 149 + + + + + 2016-05-20T13:42:53.182630+00:00 + 311.1 + + 145 + + 22 + + + 152 + + + + + 2016-05-20T13:42:55.789410+00:00 + 321.2 + + 145 + + 22 + + + 157 + + + + + 2016-05-20T13:42:58.671890+00:00 + 331.9 + + 145 + + 21 + + + 150 + + + + + 2016-05-20T13:43:01.338860+00:00 + 342.0 + + 146 + + 22 + + + 151 + + + + + 2016-05-20T13:43:04.068490+00:00 + 352.4 + + 146 + + 22 + + + 151 + + + + + 2016-05-20T13:43:06.862620+00:00 + 363.0 + + 146 + + 22 + + + 153 + + + + + 2016-05-20T13:43:09.618500+00:00 + 373.4 + + 147 + + 22 + + + 152 + + + + + 2016-05-20T13:43:12.379160+00:00 + 383.9 + + 147 + + 22 + + + 153 + + + + + 2016-05-20T13:43:15.229200+00:00 + 394.6 + + 147 + + 22 + + + 152 + + + + + 2016-05-20T13:43:17.963150+00:00 + 405.0 + + 147 + + 21 + + + 149 + + + + + 2016-05-20T13:43:20.692490+00:00 + 415.3 + + 148 + + 22 + + + 152 + + + + + 2016-05-20T13:43:23.628520+00:00 + 426.0 + + 148 + + 22 + + + 151 + + + + + 2016-05-20T13:43:26.329210+00:00 + 436.5 + + 148 + + 21 + + + 149 + + + + + 2016-05-20T13:43:29.148960+00:00 + 446.9 + + 148 + + 22 + + + 149 + + + + + 2016-05-20T13:43:31.668570+00:00 + 456.9 + + 149 + + 22 + + + 156 + + + + + 2016-05-20T13:43:34.490920+00:00 + 467.6 + + 149 + + 22 + + + 155 + + + + + 2016-05-20T13:43:37.369250+00:00 + 478.5 + + 150 + + 22 + + + 156 + + + + + 2016-05-20T13:43:40.189230+00:00 + 489.0 + + 150 + + 21 + + + 154 + + + + + 2016-05-20T13:43:42.798860+00:00 + 499.1 + + 150 + + 21 + + + 148 + + + + + 2016-05-20T13:43:45.708750+00:00 + 510.0 + + 150 + + 22 + + + 151 + + + + + 2016-05-20T13:43:48.318590+00:00 + 519.9 + + 149 + + 22 + + + 153 + + + + + 2016-05-20T13:43:51.199500+00:00 + 530.6 + + 149 + + 22 + + + 151 + + + + + 2016-05-20T13:43:53.869290+00:00 + 540.8 + + 149 + + 22 + + + 148 + + + + + 2016-05-20T13:43:56.572490+00:00 + 550.8 + + 148 + + 22 + + + 149 + + + + + 2016-05-20T13:43:59.212410+00:00 + 560.8 + + 148 + + 22 + + + 144 + + + + + 2016-05-20T13:44:01.912890+00:00 + 571.0 + + 147 + + 22 + + + 149 + + + + + 2016-05-20T13:44:04.459350+00:00 + 580.7 + + 147 + + 22 + + + 150 + + + + + 2016-05-20T13:44:07.249360+00:00 + 591.2 + + 147 + + 22 + + + 151 + + + + + 2016-05-20T13:44:09.949930+00:00 + 601.4 + + 147 + + 22 + + + 150 + + + + + 2016-05-20T13:44:12.619870+00:00 + 611.4 + + 147 + + 23 + + + 153 + + + + + 2016-05-20T13:44:15.378800+00:00 + 621.8 + + 147 + + 23 + + + 151 + + + + + 2016-05-20T13:44:18.049420+00:00 + 632.1 + + 147 + + 22 + + + 155 + + + + + 2016-05-20T13:44:20.719440+00:00 + 642.3 + + 147 + + 22 + + + 154 + + + + + 2016-05-20T13:44:23.298970+00:00 + 652.0 + + 148 + + 23 + + + 157 + + + + + 2016-05-20T13:44:26.178820+00:00 + 662.7 + + 148 + + 23 + + + 162 + + + + + 2016-05-20T13:44:28.669980+00:00 + 673.1 + + 148 + + 23 + + + 163 + + + + + 2016-05-20T13:44:31.429270+00:00 + 683.6 + + 149 + + 22 + + + 163 + + + + + 2016-05-20T13:44:34.042790+00:00 + 693.8 + + 149 + + 22 + + + 162 + + + + + 2016-05-20T13:44:36.589070+00:00 + 703.8 + + 149 + + 22 + + + 164 + + + + + 2016-05-20T13:44:39.412800+00:00 + 714.7 + + 150 + + 23 + + + 162 + + + + + 2016-05-20T13:44:42.078870+00:00 + 724.9 + + 150 + + 22 + + + 162 + + + + + 2016-05-20T13:44:44.783760+00:00 + 735.2 + + 151 + + 23 + + + 159 + + + + + 2016-05-20T13:44:47.450710+00:00 + 745.4 + + 151 + + 22 + + + 158 + + + + + 2016-05-20T13:44:50.149400+00:00 + 756.0 + + 151 + + 23 + + + 164 + + + + + 2016-05-20T13:44:52.789720+00:00 + 766.3 + + 150 + + 22 + + + 163 + + + + + 2016-05-20T13:44:55.429750+00:00 + 776.5 + + 150 + + 22 + + + 161 + + + + + 2016-05-20T13:44:58.069700+00:00 + 786.9 + + 150 + + 23 + + + 163 + + + + + 2016-05-20T13:45:00.742790+00:00 + 797.2 + + 150 + + 22 + + + 165 + + + + + 2016-05-20T13:45:03.442700+00:00 + 807.8 + + 150 + + 23 + + + 166 + + + + + 2016-05-20T13:45:06.139610+00:00 + 818.2 + + 150 + + 23 + + + 166 + + + + + 2016-05-20T13:45:08.689490+00:00 + 828.4 + + 150 + + 22 + + + 168 + + + + + 2016-05-20T13:45:11.479530+00:00 + 839.2 + + 150 + + 23 + + + 169 + + + + + 2016-05-20T13:45:14.119610+00:00 + 849.6 + + 151 + + 23 + + + 166 + + + + + 2016-05-20T13:45:16.792860+00:00 + 860.1 + + 151 + + 22 + + + 172 + + + + + 2016-05-20T13:45:19.368950+00:00 + 870.3 + + 152 + + 22 + + + 172 + + + + + 2016-05-20T13:45:22.158960+00:00 + 881.1 + + 152 + + 22 + + + 169 + + + + + 2016-05-20T13:45:24.889580+00:00 + 891.7 + + 152 + + 23 + + + 167 + + + + + 2016-05-20T13:45:27.558940+00:00 + 902.1 + + 152 + + 22 + + + 164 + + + + + 2016-05-20T13:45:30.469760+00:00 + 913.1 + + 152 + + 22 + + + 161 + + + + + 2016-05-20T13:45:33.259860+00:00 + 923.9 + + 153 + + 22 + + + 158 + + + + + 2016-05-20T13:45:36.079590+00:00 + 934.6 + + 154 + + 21 + + + 158 + + + + + 2016-05-20T13:45:38.899560+00:00 + 945.4 + + 154 + + 21 + + + 154 + + + + + 2016-05-20T13:45:41.689980+00:00 + 956.0 + + 155 + + 21 + + + 155 + + + + + 2016-05-20T13:45:44.568940+00:00 + 966.7 + + 155 + + 21 + + + 152 + + + + + 2016-05-20T13:45:47.329670+00:00 + 977.4 + + 156 + + 21 + + + 150 + + + + + 2016-05-20T13:45:50.149560+00:00 + 988.1 + + 156 + + 21 + + + 157 + + + + + 2016-05-20T13:45:52.969660+00:00 + 998.8 + + 156 + + 21 + + + 155 + + + + + 2016-05-20T13:45:55.879910+00:00 + 1009.6 + + 156 + + 21 + + + 151 + + + + + 2016-05-20T13:45:58.789690+00:00 + 1020.6 + + 156 + + 21 + + + 147 + + + + + 2016-05-20T13:46:01.729660+00:00 + 1031.5 + + 156 + + 20 + + + 145 + + + + + 2016-05-20T13:46:04.669610+00:00 + 1042.5 + + 156 + + 21 + + + 144 + + + + + 2016-05-20T13:46:07.549730+00:00 + 1053.3 + + 155 + + 20 + + + 145 + + + + + 2016-05-20T13:46:10.458930+00:00 + 1064.1 + + 155 + + 21 + + + 147 + + + + + 2016-05-20T13:46:13.488980+00:00 + 1075.3 + + 155 + + 20 + + + 142 + + + + + 2016-05-20T13:46:16.429320+00:00 + 1086.1 + + 155 + + 20 + + + 136 + + + + + 2016-05-20T13:46:19.519650+00:00 + 1097.5 + + 155 + + 21 + + + 141 + + + + + 2016-05-20T13:46:22.459630+00:00 + 1108.5 + + 155 + + 20 + + + 146 + + + + + 2016-05-20T13:46:25.338880+00:00 + 1119.2 + + 155 + + 20 + + + 143 + + + + + 2016-05-20T13:46:28.459530+00:00 + 1130.6 + + 155 + + 20 + + + 143 + + + + + 2016-05-20T13:46:31.401590+00:00 + 1141.3 + + 155 + + 20 + + + 143 + + + + + 2016-05-20T13:46:34.339560+00:00 + 1152.4 + + 155 + + 21 + + + 142 + + + + + 2016-05-20T13:46:37.309450+00:00 + 1163.3 + + 155 + + 20 + + + 138 + + + + + 2016-05-20T13:46:40.098920+00:00 + 1173.8 + + 154 + + 20 + + + 141 + + + + + 2016-05-20T13:46:43.039950+00:00 + 1184.8 + + 154 + + 21 + + + 146 + + + + + 2016-05-20T13:46:46.039490+00:00 + 1195.8 + + 153 + + 21 + + + 146 + + + + + 2016-05-20T13:46:48.979630+00:00 + 1206.6 + + 152 + + 21 + + + 141 + + + + + 2016-05-20T13:46:51.949590+00:00 + 1217.3 + + 153 + + 21 + + + 141 + + + + + 2016-05-20T13:46:54.709590+00:00 + 1227.8 + + 152 + + 21 + + + 140 + + + + + 2016-05-20T13:46:57.589710+00:00 + 1238.7 + + 152 + + 21 + + + 143 + + + + + 2016-05-20T13:47:00.503120+00:00 + 1249.5 + + 151 + + 21 + + + 149 + + + + + 2016-05-20T13:47:03.408950+00:00 + 1260.1 + + 151 + + 20 + + + 141 + + + + + 2016-05-20T13:47:06.323410+00:00 + 1270.9 + + 151 + + 21 + + + 141 + + + + + 2016-05-20T13:47:09.229670+00:00 + 1281.8 + + 150 + + 21 + + + 145 + + + + + 2016-05-20T13:47:12.198960+00:00 + 1292.7 + + 151 + + 20 + + + 142 + + + + + 2016-05-20T13:47:15.079930+00:00 + 1303.4 + + 151 + + 20 + + + 141 + + + + + 2016-05-20T13:47:17.989660+00:00 + 1314.3 + + 151 + + 21 + + + 141 + + + + + 2016-05-20T13:47:20.959680+00:00 + 1325.2 + + 151 + + 21 + + + 146 + + + + + 2016-05-20T13:47:23.869730+00:00 + 1336.1 + + 152 + + 20 + + + 143 + + + + + 2016-05-20T13:47:26.782970+00:00 + 1346.9 + + 152 + + 21 + + + 144 + + + + + 2016-05-20T13:47:29.688910+00:00 + 1357.4 + + 152 + + 20 + + + 141 + + + + + 2016-05-20T13:47:32.539570+00:00 + 1368.1 + + 152 + + 21 + + + 138 + + + + + 2016-05-20T13:47:35.449720+00:00 + 1379.0 + + 152 + + 20 + + + 142 + + + + + 2016-05-20T13:47:38.329080+00:00 + 1389.5 + + 153 + + 21 + + + 145 + + + + + 2016-05-20T13:47:41.148960+00:00 + 1399.9 + + 152 + + 21 + + + 138 + + + + + 2016-05-20T13:47:44.088880+00:00 + 1410.7 + + 152 + + 20 + + + 139 + + + + + 2016-05-20T13:47:47.150600+00:00 + 1422.0 + + 152 + + 20 + + + 139 + + + + + 2016-05-20T13:47:50.029750+00:00 + 1432.8 + + 151 + + 20 + + + 141 + + + + + 2016-05-20T13:47:52.998850+00:00 + 1443.6 + + 151 + + 21 + + + 146 + + + + + 2016-05-20T13:47:55.880360+00:00 + 1454.4 + + 152 + + 20 + + + 143 + + + + + 2016-05-20T13:47:58.789400+00:00 + 1465.1 + + 151 + + 21 + + + 143 + + + + + 2016-05-20T13:48:01.639760+00:00 + 1475.9 + + 152 + + 21 + + + 145 + + + + + 2016-05-20T13:48:04.492770+00:00 + 1486.6 + + 152 + + 21 + + + 148 + + + + + 2016-05-20T13:48:07.429530+00:00 + 1497.4 + + 153 + + 21 + + + 143 + + + + + 2016-05-20T13:48:10.373270+00:00 + 1508.2 + + 153 + + 20 + + + 140 + + + + + 2016-05-20T13:48:13.309500+00:00 + 1519.2 + + 154 + + 20 + + + 144 + + + + + 2016-05-20T13:48:16.279570+00:00 + 1530.0 + + 154 + + 21 + + + 143 + + + + + 2016-05-20T13:48:19.160740+00:00 + 1540.9 + + 153 + + 20 + + + 141 + + + + + 2016-05-20T13:48:21.948820+00:00 + 1551.3 + + 153 + + 21 + + + 143 + + + + + 2016-05-20T13:48:25.039520+00:00 + 1562.6 + + 153 + + 21 + + + 146 + + + + + 2016-05-20T13:48:27.949340+00:00 + 1573.3 + + 153 + + 20 + + + 141 + + + + + 2016-05-20T13:48:30.890880+00:00 + 1584.2 + + 152 + + 20 + + + 139 + + + + + 2016-05-20T13:48:33.648790+00:00 + 1594.6 + + 152 + + 21 + + + 145 + + + + + 2016-05-20T13:48:36.770050+00:00 + 1606.0 + + 152 + + 21 + + + 143 + + + + + 2016-05-20T13:48:39.499600+00:00 + 1616.2 + + 152 + + 20 + + + 138 + + + + + 2016-05-20T13:48:42.559140+00:00 + 1627.4 + + 152 + + 21 + + + 140 + + + + + 2016-05-20T13:48:45.439020+00:00 + 1638.0 + + 152 + + 21 + + + 144 + + + + + 2016-05-20T13:48:48.439810+00:00 + 1649.2 + + 151 + + 20 + + + 143 + + + + + 2016-05-20T13:48:51.379570+00:00 + 1660.2 + + 152 + + 20 + + + 143 + + + + + 2016-05-20T13:48:54.259600+00:00 + 1670.8 + + 151 + + 20 + + + 142 + + + + + 2016-05-20T13:48:57.139300+00:00 + 1681.4 + + 151 + + 21 + + + 140 + + + + + 2016-05-20T13:49:00.049550+00:00 + 1692.1 + + 151 + + 21 + + + 140 + + + + + 2016-05-20T13:49:02.838790+00:00 + 1702.5 + + 150 + + 21 + + + 141 + + + + + 2016-05-20T13:49:05.839540+00:00 + 1713.7 + + 150 + + 21 + + + 144 + + + + + 2016-05-20T13:49:08.749400+00:00 + 1724.4 + + 150 + + 21 + + + 146 + + + + + 2016-05-20T13:49:11.689540+00:00 + 1735.1 + + 150 + + 20 + + + 141 + + + + + 2016-05-20T13:49:14.538900+00:00 + 1745.6 + + 150 + + 21 + + + 140 + + + + + 2016-05-20T13:49:17.389440+00:00 + 1756.3 + + 150 + + 21 + + + 141 + + + + + 2016-05-20T13:49:20.058880+00:00 + 1766.2 + + 151 + + 20 + + + 142 + + + + + 2016-05-20T13:49:23.059530+00:00 + 1777.1 + + 150 + + 22 + + + 138 + + + + + 2016-05-20T13:49:25.880610+00:00 + 1787.5 + + 150 + + 21 + + + 138 + + + + + 2016-05-20T13:49:28.608730+00:00 + 1797.7 + + 150 + + 22 + + + 140 + + + + + 2016-05-20T13:49:31.582600+00:00 + 1808.4 + + 150 + + 21 + + + 140 + + + + + 2016-05-20T13:49:34.278700+00:00 + 1818.4 + + 149 + + 21 + + + 138 + + + + + 2016-05-20T13:49:37.068660+00:00 + 1828.9 + + 149 + + 22 + + + 146 + + + + + 2016-05-20T13:49:40.039460+00:00 + 1839.9 + + 149 + + 21 + + + 142 + + + + + 2016-05-20T13:49:42.889790+00:00 + 1850.5 + + 148 + + 21 + + + 142 + + + + + 2016-05-20T13:49:45.772580+00:00 + 1861.2 + + 148 + + 21 + + + 145 + + + + + 2016-05-20T13:49:48.708690+00:00 + 1871.9 + + 147 + + 21 + + + 143 + + + + + 2016-05-20T13:49:51.679450+00:00 + 1882.6 + + 147 + + 20 + + + 139 + + + + + 2016-05-20T13:49:54.499470+00:00 + 1893.3 + + 148 + + 20 + + + 140 + + + + + 2016-05-20T13:49:57.409440+00:00 + 1904.3 + + 149 + + 21 + + + 144 + + + + + 2016-05-20T13:50:00.439330+00:00 + 1915.4 + + 149 + + 20 + + + 148 + + + + + 2016-05-20T13:50:03.408680+00:00 + 1926.2 + + 150 + + 20 + + + 139 + + + + + 2016-05-20T13:50:06.378680+00:00 + 1937.3 + + 151 + + 20 + + + 140 + + + + + 2016-05-20T13:50:09.168860+00:00 + 1947.8 + + 152 + + 20 + + + 144 + + + + + 2016-05-20T13:50:12.229650+00:00 + 1959.1 + + 152 + + 20 + + + 142 + + + + + 2016-05-20T13:50:15.138650+00:00 + 1969.8 + + 153 + + 20 + + + 140 + + + + + 2016-05-20T13:50:18.049470+00:00 + 1980.6 + + 153 + + 21 + + + 143 + + + + + 2016-05-20T13:50:20.959460+00:00 + 1991.4 + + 153 + + 21 + + + 143 + + + + + 2016-05-20T13:50:23.242360+00:00 + 2000.0 + + 154 + + 21 + + + 147 + + + + + + <Element 'Notes' at 0x1499d4e0> + + + + rowsandall.com/rowingdata + + + rowingdata + + + 0 + 75 + + Release + + EN + 000-00000-00 + + diff --git a/rowers/urls.py b/rowers/urls.py index 6a43039e..7328859b 100644 --- a/rowers/urls.py +++ b/rowers/urls.py @@ -453,7 +453,7 @@ urlpatterns = [ url(r'^checkouts/$',views.checkouts_view,name='checkouts'), url(r'^upgradecheckouts/$',views.upgrade_checkouts_view,name='upgrade_checkouts'), url(r'^downgradecheckouts/$',views.downgrade_checkouts_view,name='downgrade_checkouts'), - url(r'^planrequired',views.planrequired_view), + url(r'^planrequired/',views.planrequired_view), url(r'^starttrial/$',views.start_trial_view), url(r'^startplantrial/$',views.start_plantrial_view), # url(r'^planmembership', TemplateView.as_view(template_name='planmembership.html'),name='planmembership'), diff --git a/rowers/views.py b/rowers/views.py index e5b7efe9..ad59b882 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -3500,7 +3500,7 @@ def cum_flex(request,theuser=0, def planrequired_view(request): messages.info(request,"This functionality requires Coach or Self-Coach membership") - return render(request,'promembership.html') + return HttpResponseRedirect(reverse(paidplans_view)) @user_passes_test(hasplannedsessions,login_url="/rowers/paidplans", message="This functionality requires a Coach or Self-Coach plan", @@ -3576,7 +3576,7 @@ def workout_forcecurve_view(request,id=0,workstrokesonly=False): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -3646,7 +3646,7 @@ def workout_histo_view(request,id=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -3855,7 +3855,7 @@ def addmanual_view(request): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -6051,7 +6051,7 @@ def team_comparison_select(request, if id: breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -6066,7 +6066,7 @@ def team_comparison_select(request, else: breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -6369,7 +6369,7 @@ def multi_compare_view(request,id=0,userid=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -7709,7 +7709,7 @@ def workouts_view(request,message='',successmessage='', breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, ] @@ -7891,7 +7891,7 @@ def workout_fusion_list(request,id=0,message='',successmessage='', breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -7988,7 +7988,7 @@ def workout_view(request,id=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -8122,7 +8122,7 @@ def workout_crewnerd_summary_view(request,id=0,message="",successmessage=""): r = getrower(request.user) breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -8332,7 +8332,7 @@ def workout_wind_view(request,id=0,message="",successmessage=""): r = getrower(request.user) breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -8520,7 +8520,7 @@ def workout_stream_view(request,id=0,message="",successmessage=""): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -8652,7 +8652,7 @@ def workout_otwsetpower_view(request,id=0,message="",successmessage=""): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -8692,7 +8692,7 @@ def instroke_view(request,id=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -9170,7 +9170,7 @@ def workout_data_view(request, id=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -9272,7 +9272,7 @@ def workout_stats_view(request,id=0,message="",successmessage=""): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -9807,7 +9807,7 @@ def workout_workflow_view(request,id): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -10093,7 +10093,7 @@ def workout_flexchart3_view(request,*args,**kwargs): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -10187,7 +10187,7 @@ def workout_otwpowerplot_view(request,id=0,message="",successmessage=""): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -10414,7 +10414,7 @@ def workout_comment_view(request,id=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -10854,7 +10854,7 @@ def workout_edit_view(request,id=0,message="",successmessage=""): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -10902,7 +10902,7 @@ def workout_map_view(request,id=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -11128,7 +11128,7 @@ def workout_uploadimage_view(request,id): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -11394,7 +11394,7 @@ def workout_stravaimport_view(request,message="",userid=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -11450,7 +11450,7 @@ def workout_runkeeperimport_view(request,message="",userid=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -11502,7 +11502,7 @@ def workout_underarmourimport_view(request,message="",userid=0): rower = getrower(request.user) breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -11555,7 +11555,7 @@ def workout_polarimport_view(request,userid=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -11627,7 +11627,7 @@ def workout_sporttracksimport_view(request,message="",userid=0): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -11772,7 +11772,7 @@ def workout_c2import_view(request,page=1,userid=0,message=""): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -12082,7 +12082,7 @@ def workout_upload_view(request, breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -12508,7 +12508,7 @@ def team_workout_upload_view(request,message="", breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -12816,7 +12816,7 @@ def graph_show_view(request,id): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -12908,7 +12908,7 @@ def workout_split_view(request,id=id): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -13041,7 +13041,7 @@ def workout_fusion_view(request,id1=0,id2=1): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -13079,7 +13079,7 @@ def workout_summary_edit_view(request,id,message="",successmessage="" r = getrower(request.user) breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -13575,7 +13575,7 @@ def rower_exportsettings_view(request,userid=0): breadcrumbs = [ { - 'url':'/rowers/me', + 'url':'/rowers/me/edit/', 'name': 'Profile' }, { @@ -13601,7 +13601,7 @@ def rower_edit_view(request,rowerid=0,userid=0,message=""): breadcrumbs = [ { - 'url':'/rowers/me/edit', + 'url':'/rowers/me/edit/', 'name': 'Profile' }, { @@ -13906,7 +13906,7 @@ def rower_prefs_view(request,userid=0,message=""): breadcrumbs = [ { - 'url':'/rowers/me/edit', + 'url':'/rowers/me/edit/', 'name': 'Profile' }, { @@ -16142,7 +16142,10 @@ def plannedsessions_manage_view(request,userid=0, initialsession=0 if initialsession: - ps0 = PlannedSession.objects.get(id=initialsession) + try: + ps0 = PlannedSession.objects.get(id=initialsession) + except PlannedSession.DoesNotExist: + ps0 = None else: ps0 = None @@ -18667,7 +18670,7 @@ class GraphDelete(DeleteView): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { @@ -18713,7 +18716,7 @@ class WorkoutDelete(DeleteView): breadcrumbs = [ { - 'url':'/rowers/list-workouts', + 'url':'/rowers/list-workouts/', 'name':'Workouts' }, { diff --git a/templates/newbase.html b/templates/newbase.html index 462a2e02..74608dff 100644 --- a/templates/newbase.html +++ b/templates/newbase.html @@ -149,13 +149,13 @@
                                  • - +
                                  • {% if user.is_authenticated %}
                                  • - + {% if user.rower.rowerplan == 'pro' %} {% elif user.rower.rowerplan == 'coach' %} @@ -163,19 +163,19 @@ {% elif user.rower.rowerplan == 'plan' %} {% else %} - + {% endif %}
                                  • - +
                                  • {% else %}
                                  • - +
                                  • @@ -195,12 +195,12 @@
                                    • - +  Workouts
                                    • - +  Racing
                                    • @@ -215,7 +215,7 @@
                                    • - +  Teams
                                    • @@ -236,7 +236,7 @@ {% if user.rower.planexpires|date_dif|ddays < 4 %}
                                    • - You have {{ user.rower.planexpires|date_dif|ddays }} days left of your one year subscription. Please renew on or before {{ user.rower.planexpires }} or your plan will be reset to Basic. Click here to renew your membership.

                                      + You have {{ user.rower.planexpires|date_dif|ddays }} days left of your one year subscription. Please renew on or before {{ user.rower.planexpires }} or your plan will be reset to Basic. Click here to renew your membership.

                                    • {% endif %} {% endif %} @@ -245,14 +245,14 @@ {% if user.rower.plantrialexpires and user.rower.rowerplan != 'plan' %}
                                    • - {{ user.rower.protrialexpires|date_dif|ddays }} days left of your Self-Coach trial - Would you like to upgrade now? + {{ user.rower.protrialexpires|date_dif|ddays }} days left of your Self-Coach trial - Would you like to upgrade now?

                                    • {% else %} {% if user.rower.rowerplan == 'basic' %}
                                    • - {{ user.rower.protrialexpires|date_dif|ddays }} days left of your Pro trial - Would you like to upgrade now? + {{ user.rower.protrialexpires|date_dif|ddays }} days left of your Pro trial - Would you like to upgrade now?

                                    • {% endif %} @@ -335,7 +335,7 @@

                                      Help

                                      • - Help + Help
                                      • @@ -347,7 +347,7 @@ Rowing Data Facebook Group
                                      • - Rowing Physics + Rowing Physics
                                      @@ -361,13 +361,13 @@ Rowsandall s.r.o.
                                    • - Brochure + Brochure
                                    • - Partnering? + Partnering?
                                    • - Developers Info + Developers Info
                                    @@ -375,7 +375,7 @@

                                    Paid Plans

                                    • - Paid Plans + Paid Plans
                                    @@ -383,10 +383,10 @@

                                    Legal

                                    • - Terms and Conditions + Terms and Conditions
                                    • - Privacy Policy + Privacy Policy
                                  diff --git a/templates/newbasefront.html b/templates/newbasefront.html index 55303389..b09db75d 100644 --- a/templates/newbasefront.html +++ b/templates/newbasefront.html @@ -159,13 +159,13 @@
                                  • - +
                                  • {% if user.is_authenticated %}
                                  • - + {% if user.rower.rowerplan == 'pro' %} {% elif user.rower.rowerplan == 'coach' %} @@ -173,19 +173,19 @@ {% elif user.rower.rowerplan == 'plan' %} {% else %} - + {% endif %}
                                  • - +
                                  • {% else %}
                                  • - +
                                  • @@ -206,12 +206,12 @@
                                    • - +  Workouts
                                    • - +  Racing
                                    • @@ -226,7 +226,7 @@
                                    • - +  Teams
                                    • @@ -247,14 +247,14 @@ {% if user.rower.plantrialexpires and user.rower.rowerplan != 'plan' %}
                                    • - {{ user.rower.protrialexpires|date_dif|ddays }} days left of your Self-Coach trial - Would you like to upgrade now? + {{ user.rower.protrialexpires|date_dif|ddays }} days left of your Self-Coach trial - Would you like to upgrade now?

                                    • {% else %} {% if user.rower.rowerplan == 'basic' %}
                                    • - {{ user.rower.protrialexpires|date_dif|ddays }} days left of your Pro trial - Would you like to upgrade now? + {{ user.rower.protrialexpires|date_dif|ddays }} days left of your Pro trial - Would you like to upgrade now?

                                    • {% endif %} @@ -307,7 +307,7 @@

                                      Help

                                      • - Help + Help
                                      • @@ -333,13 +333,13 @@ Rowsandall s.r.o.
                                      • - Brochure + Brochure
                                      • - Partnering? + Partnering?
                                      • - Developers Info + Developers Info
                                      @@ -347,7 +347,7 @@

                                      Paid Plans

                                      • - Paid Plans + Paid Plans
                                      @@ -355,10 +355,10 @@

                                      Legal

                                      • - Terms and Conditions + Terms and Conditions
                                      • - Privacy Policy + Privacy Policy