{% extends "newbase.html" %} {% load static %} {% load rowerfilters %} {% load leaflet_tags %} {% block meta %} {% leaflet_js %} {% leaflet_css %} {% endblock %} {% block title %}Planned Session{% endblock %} {% block main %} {% if user.is_authenticated and psdict.id.1|is_session_manager:user %}

Edit Session / Save to Library {% if psdict.garmin_schedule_id.1 %} Exported to Garmin {% else %} Export to Garmin {% endif %} {% if plannedsession.intervals_icu_id %} Exported to intervals.icu {% else %} Export to intervals.icu {% endif %}

{% endif %}

Session {{ psdict.name.1 }}

  • {% for attr in attrs %} {% for key,value in psdict.items %} {% if key == attr %} {% if key == 'comment' %} {% else %} {% if value.1 %} {% endif %} {% endif %} {% endif %} {% endfor %} {% endfor %}
    {{ value.0 }}{{ value.1|linebreaks|urlshorten:"50" }}{{ value.0 }}{{ value.1 }}
    {% if steps %}

    Steps

    {{ steps|safe }}

    {% endif %}
  • {% if plannedsession.sessiontype == 'test' or plannedsession.sessiontype == 'coursetest' or plannedsession.sessiontype == 'fastest_distance' or plannedsession.sessiontype == 'fastest_time' %}

    Ranking

    {% for result in ranking %} {% if result|lookup:'coursecompleted' %} {% endif %} {% endfor %}
    Nr Name Distance Time Date Type
    {{ forloop.counter }} {{ result|lookup:'name' }} {{ result|lookup:'distance' }} {{ result|lookup:'time'|deltatimeprint }} {{ result|lookup:'date'|date:"Y-m-d" }} {{ result|lookup:'type' }}
    {% endif %}

    Workouts attached

    {% for workout in workouts %} {% endfor %}
    Date Name Distance Duration
    {{ workout.date|date:"Y-m-d" }} {{ workout.name }} {{ workout.distance }}m {{ workout.duration |durationprint:"%H:%M:%S.%f" }} Detach

    Add, remove or change workouts for this session

  • {{ rower.user.first_name }} {{ rower.user.last_name }}

    Status: {{ status }}

    Percentage complete: {{ ratio }}

  • Stats

    {% for id, value in results.items %} {% endfor %}
    Name Minutes Meters rScore TRIMP Complete Date Status
    {{ value|lookup:'first_name' }} {{ value|lookup:'last_name' }} {{ value|lookup:'duration' }} {{ value|lookup:'distance' }} {{ value|lookup:'rscore' }} {{ value|lookup:'trimp' }} {{ value|lookup:'completedate' }} {{ value|lookup:'status' }}

    Compare Workouts

  • Comments ({{ comments|length }})

    {% for c in comments %}

    {{ c.user.first_name }} {{ c.user.last_name }} - {{ c.created }}
    {{ c.comment }}

    {% endfor %}

    Add a comment

  • {% if coursescript %}
  • {{ plannedsession.course.name }}

    {{ coursediv|safe }} {{ coursescript|safe }}
  • {% endif %}
{% endblock %} {% block sidebar %} {% include 'menu_plan.html' %} {% endblock %} {% block scripts %} {% endblock %}