[PATCH 0/6] add some more variables to Grantlee HTML
Lubomir I. Ivanov
neolit123 at gmail.com
Mon Nov 16 14:29:16 PST 2015
From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
These series do not touch the HTML templates but rather only expose more
Grantlee variables.
http://trac.subsurface-divelog.org/ticket/962#comment:2
dive.suit
dive.cylinders, dive.cylinder0-7
dive.weights, dive.weight0-5
dive.maxcns, dive.otu
Lubomir I. Ivanov (6):
qthelper.cpp: define EMPTY_DIVE_STRING
qthelper: add means to retreive weight and cylinder info in Dive
templatelayout.h: expose "dive.suit" as a Grantlee HTML variable
templatelayout.h: expose cylinders and weights in Grantlee HTML
qthelper: also support "maxcns" and "otu" in Grantlee HTML
qthelper.cpp: improve getFormattedCylinder()
desktop-widgets/templatelayout.h | 83 +++++++++++++++++++-------------
subsurface-core/qthelper.cpp | 101 ++++++++++++++++++++++++++++++++++-----
subsurface-core/qthelper.h | 18 +++++--
3 files changed, 153 insertions(+), 49 deletions(-)
--
1.7.11.msysgit.0
More information about the subsurface
mailing list