Tim Wootton
bd40ef7f42
Adds Cylinder helper class for cylinder info access in grantlee templates
...
to allow grantlee to access individual fields of the cylinder_t struct
rather than a string representation of the whole cylinder info using a
grantlee structure like this one:
<table class="table_class">
<tr>
<td>Cylinder</td>
<td>Start press.</td>
<td>End press.</td>
<td>Gas mix</td>
</tr>
{% for cylinderObject in dive.cylinderObjects %}
<tr>
<td>{{ cylinderObject.description }}</td>
<td>{{ cylinderObject.startPressure }}</td>
<td>{{ cylinderObject.endPressure }}</td>
<td>{{ cylinderObject.gasMix }}</td>
</tr>
{% endfor %}
</table>
Signed-off-by: Tim Wootton <tim@tee-jay.org.uk>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-08-10 15:00:33 -07:00
..
2016-08-10 15:00:33 -07:00
2016-04-04 22:33:58 -07:00
2016-07-23 12:54:30 +09:00
2016-04-04 22:33:58 -07:00
2016-07-23 12:53:37 +09:00
2016-04-04 22:33:58 -07:00
2016-08-10 15:00:33 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-18 06:01:01 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-20 15:55:51 -07:00
2016-07-21 20:00:04 +09:00
2016-07-24 09:53:24 +09:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-06-11 10:28:04 -07:00
2016-04-14 09:42:10 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:37:18 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-06-11 10:32:00 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-06-23 16:35:39 -07:00
2016-04-27 15:05:37 -07:00
2016-04-17 22:59:19 -07:00
2016-04-17 22:59:12 -07:00
2016-04-05 16:52:58 -07:00
2016-04-30 16:18:44 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-07-21 20:00:04 +09:00
2016-04-18 06:01:01 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-06-14 12:15:03 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-06-14 12:04:36 -07:00
2016-07-23 10:54:51 +09:00
2016-07-09 12:07:25 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-07-23 12:54:30 +09:00
2016-04-04 22:33:58 -07:00
2016-07-18 16:27:38 +09:00
2016-04-20 16:00:28 -07:00
2016-04-04 22:33:58 -07:00
2016-05-04 13:51:55 -07:00
2016-07-09 12:07:25 -07:00
2016-07-09 12:07:25 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-07-21 20:00:04 +09:00
2016-04-29 09:07:17 -07:00
2016-04-04 22:33:58 -07:00
2016-04-29 09:07:17 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-29 09:07:17 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-07-23 12:54:30 +09:00
2016-04-29 12:14:59 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-29 09:07:17 -07:00
2016-04-29 09:07:17 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00
2016-04-04 22:33:58 -07:00