first cut at followers
This commit is contained in:
47
rowers/templates/followerform.html
Normal file
47
rowers/templates/followerform.html
Normal file
@@ -0,0 +1,47 @@
|
||||
{% extends "newbase.html" %}
|
||||
{% load staticfiles %}
|
||||
{% load rowerfilters %}
|
||||
{% load tz %}
|
||||
|
||||
{% block scripts %}
|
||||
{% include "monitorjobs.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}Comment Session {% endblock %}
|
||||
|
||||
{% block main %}
|
||||
|
||||
<h1>Comments {{ plannedession.name }}</h1>
|
||||
|
||||
<ul class="main-content">
|
||||
<li class="grid_2">
|
||||
{% for c in comments %}
|
||||
<p>
|
||||
{{ c.created }}
|
||||
<b>{{ c.user.first_name }} {{ c.user.last_name }}</b>
|
||||
<div class="talk-bubble tri-right left-top">
|
||||
<div class="talktext">
|
||||
{{ c.comment }}
|
||||
</div>
|
||||
</div>
|
||||
</p>
|
||||
{% endfor %}
|
||||
<form enctype="multipart/form-data" method="post">
|
||||
<table width=100%>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Save">
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% if 'racing' in active %}
|
||||
{% include 'menu_racing.html' %}
|
||||
{% else %}
|
||||
{% include 'menu_plan.html' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
@@ -160,12 +160,14 @@
|
||||
<div id="registerbuttons">
|
||||
{% if request.user.is_anonymous %}
|
||||
<p>
|
||||
Registered users of rowsandall.com can participate in this challenge. Participation is free, unless specified differently in the race comment above.
|
||||
Registered users of rowsandall.com can participate in this challenge.
|
||||
Participation is free, unless specified differently in the race comment above.
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/register"><h3>Register</h3></a>
|
||||
{% else %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/registerindoor"><h3>Register</h3></a>
|
||||
{% endif %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/follow/"><h3>Follow this challenge</h3></a>
|
||||
</p>
|
||||
{% else %}
|
||||
<p>
|
||||
@@ -184,6 +186,7 @@
|
||||
{% else %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/registerindoor"><h3>Register</h3></a>
|
||||
{% endif %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/follow/"><h3>Follow this challenge</h3></a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if button == 'submitbutton' %}
|
||||
|
||||
Reference in New Issue
Block a user