summaryrefslogtreecommitdiff
path: root/app/planner
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2021-08-02 10:10:28 -0400
committerluxagraf <sng@luxagraf.net>2021-08-02 10:10:28 -0400
commit8fd0a19c40bbc785c7829cf57a92c3f8c38a4364 (patch)
treeb205b8752dde23a5919ecd18461751401da17df9 /app/planner
parentbd87eb3ae152e4d1d327253c4c0fda86df6ec3fe (diff)
trad: fixed a bug that was showing monthly pl instead of yearly
Diffstat (limited to 'app/planner')
-rw-r--r--app/planner/templates/planner/list.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/planner/templates/planner/list.html b/app/planner/templates/planner/list.html
index e212867..ac8dddf 100644
--- a/app/planner/templates/planner/list.html
+++ b/app/planner/templates/planner/list.html
@@ -6,10 +6,12 @@
{% for object in object_list %}
<div class="distance"><a href="{{object.map_link}}" target="_blank">{{object.distance_from_previous|floatformat:"0"}} Miles</a></div>
<article>
- <h3 class="campname">{{object.name}}</h3>
+ <h3 class="campname">{{object.name}} <small><a href="{% url 'luxplanner:update' object.pk %}">edit</a></h3>
<h6 class="date">Arrive: {{object.date_arrive|date:"D"}} Afternoon, {{object.date_arrive|date:"M j, Y"}}</h6>
<h6 class="date">Depart: {{object.date_depart|date:"D"}} Morning, {{object.date_depart|date:"M j, Y"}}</h6>
<div class="notes">{{object.notes_html|safe|urlize}}</div>
+ <ul>
+ {% if object.has_water %}<li class="water">
</article>{% endfor %}
</div>
{% endblock %}