View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|10074||Feature requests||Theme editor||public||2015-12-04 11:25||2016-04-12 10:48|
|Summary||10074: Please insert LS version and build# as classes in body|
|Description||When testing version 2.5 RC3 we now see that the structure of the HTML is slightly different from earlier version. In order to keep templates working in multiple versions it would help very much if both the version and the build# are inserted as body classes so we can define conditionals.|
Something like <body class="v2.5 b151225">
|Tags||No tags attached.|
I see the problem but the solution is not right.
Revealing version and build number can be a security problem.
This could be resolved though by a proper templating engine which offers conditional statements without needing PHP directlry.
|Is there any indication if and when a "proper" templating engine is available in LimeSurvey?|
|I can at least put a class like 'bootstrap' to indicate it's using the bootstrap engine.|
|Fix committed to 2.5 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=16442|
Now the body has a new class : bootstrap-engine
In the future, it should be possible to choose between different engines to generate the html flow (the DOM).
|Version 2.50+ Build 140413 released|
|2015-12-04 11:25||tammo||New Issue|
|2015-12-04 15:09||c_schmitz||Note Added: 33687|
|2015-12-04 15:09||c_schmitz||Relationship added||child of 07545|
|2015-12-04 15:21||tammo||Note Added: 33704|
||Note Added: 33814|
||Changeset attached||=> LimeSurvey 2.5 fba77c36|
||Note Added: 33815|
||Assigned To||=> LouisGac|
||Resolution||open => fixed|
||Note Added: 33816|
||Status||new => resolved|
|2015-12-11 14:40||c_schmitz||Category||Templates => Theme editor|
|2016-04-12 10:48||c_schmitz||Note Added: 37246|
|2016-04-12 10:48||c_schmitz||Status||resolved => closed|