wrapping text in some tables
This commit is contained in:
6
rowers/templates/panel_notes.html
Normal file
6
rowers/templates/panel_notes.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<h2>Notes</h2>
|
||||
<p>
|
||||
<div class="wrapwords">
|
||||
{{ workout.notes }}
|
||||
</div>
|
||||
</p>
|
||||
13
rowers/templates/panel_shortcomment.html
Normal file
13
rowers/templates/panel_shortcomment.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% load rowerfilters %}
|
||||
{% load tz %}
|
||||
<div class="grid_6 suffix_3 alpha">
|
||||
<table width=100%>
|
||||
<tr>
|
||||
<th>Comments</th>
|
||||
<td>
|
||||
<a href="/rowers/workout/{{ workout.id }}/comment">Comment ({{ aantalcomments }})</a>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -33,15 +33,15 @@
|
||||
<div class="grid_12 alpha">
|
||||
<div id="left" class="grid_6 alpha">
|
||||
<h1>Session {{ psdict.name.1 }}</h1>
|
||||
<table class="listtable shortpadded" width="80%">
|
||||
<table class="listtable shortpadded" width="95%">
|
||||
{% for attr in attrs %}
|
||||
{% for key,value in psdict.items %}
|
||||
{% if key == attr %}
|
||||
<tr>
|
||||
{% if key == 'comment' %}
|
||||
<td><b>{{ value.0 }}</b></td><td>{{ value.1|linebreaks }}</td>
|
||||
<td><b>{{ value.0 }}</b></td><td class="wrapwords">{{ value.1|linebreaks }}</td>
|
||||
{% else %}
|
||||
<td><b>{{ value.0 }}</b></td><td>{{ value.1 }}</td>
|
||||
<td><b>{{ value.0 }}</b></td><td class="wrapwords">{{ value.1 }}</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user