Skip to content

Commit 8089238

Browse files
author
Mike Churchward
committed
Trying to pass the mustache test on Travis.
1 parent c6d86fe commit 8089238

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

templates/question_rate.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
}}
123123
<!-- Begin HTML generated from question_rate template. -->
124124
{{#qelements}}
125-
<table style="width:{{qelements.twidth}}">
125+
<table style="width:{{twidth}}">
126126
<tbody>
127127
{{#qelements.headerrow}}
128128
<tr>
@@ -135,7 +135,7 @@
135135
{{#qelements.rows}}
136136
<tr class="raterow">
137137
{{#cols}}
138-
<td {{#colstyle}}style="{{.}}"{{/colstyle}}{{#colclass}} class="{{.}}"{{/colclass}}{{#coltitle}} title="{{.}}"{{/coltitle}}
138+
<td {{#colstyle}}style="{{.}}"{{/colstyle}}{{#colclass}} class="{{.}}"{{/colclass}}{{#coltitle}} title="{{.}}"{{/coltitle}}
139139
{{#colinput}} onclick="if('{{id}}'.length>0) document.getElementById('{{id}}').click()"{{/colinput}}>
140140
{{#coltext}}{{{.}}}{{/coltext}}
141141
{{#colhiddentext}}<span class="accesshide">{{{.}}}</span>{{/colhiddentext}}

templates/response_rate.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
}}
5959
<!-- Begin HTML generated from response_rate template. -->
6060
<div class="questionnaire_response questionnaire_radio">
61-
<table class="individual" style="border: 0; borderspacing: 1px; padding: 0; width:{{twidth}}">
61+
<table class="individual" style="border: 0; border-spacing: 1px; padding: 0; width:{{twidth}}">
6262
<tbody>
6363
<tr>
6464
{{#osgood}}<td style="width: {{sidecolwidth}}; text-align: right;"></td>{{/osgood}}

templates/results_choice.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"alt1": "alt1",
3737
"image1": "http://localhost/mod/questionnaire/images/hbar_1.gif",
3838
"alt2": "alt2",
39-
"width2": "28px",
39+
"width2": "28",
4040
"image2": "http://localhost/mod/questionnaire/images/hbar.gif",
4141
"alt3": "alt3",
4242
"image3": "http://localhost/mod/questionnaire/images/hbar_r.gif",
@@ -50,7 +50,7 @@
5050
"alt1": "alt1",
5151
"image1": "http://localhost/mod/questionnaire/images/hbar_1.gif",
5252
"alt2": "alt2",
53-
"width2": "28px",
53+
"width2": "28",
5454
"image2": "http://localhost/mod/questionnaire/images/hbar.gif",
5555
"alt3": "alt3",
5656
"image3": "http://localhost/mod/questionnaire/images/hbar_r.gif",
@@ -63,7 +63,7 @@
6363
"alt1": "alt1",
6464
"image1": "http://localhost/mod/questionnaire/images/hbar_1.gif",
6565
"alt2": "alt2",
66-
"width2": "28px",
66+
"width2": "28",
6767
"image2": "http://localhost/mod/questionnaire/images/hbar.gif",
6868
"alt3": "alt3",
6969
"image3": "http://localhost/mod/questionnaire/images/hbar_r.gif",

templates/resultspdf_choice.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"alt1": "alt1",
3838
"image1": "http://localhost/mod/questionnaire/images/hbar_1.gif",
3939
"alt2": "alt2",
40-
"width2": "28px",
40+
"width2": "28",
4141
"image2": "http://localhost/mod/questionnaire/images/hbar.gif",
4242
"alt3": "alt3",
4343
"image3": "http://localhost/mod/questionnaire/images/hbar_r.gif",
@@ -51,7 +51,7 @@
5151
"alt1": "alt1",
5252
"image1": "http://localhost/mod/questionnaire/images/hbar_1.gif",
5353
"alt2": "alt2",
54-
"width2": "28px",
54+
"width2": "28",
5555
"image2": "http://localhost/mod/questionnaire/images/hbar.gif",
5656
"alt3": "alt3",
5757
"image3": "http://localhost/mod/questionnaire/images/hbar_r.gif",
@@ -64,7 +64,7 @@
6464
"alt1": "alt1",
6565
"image1": "http://localhost/mod/questionnaire/images/hbar_1.gif",
6666
"alt2": "alt2",
67-
"width2": "28px",
67+
"width2": "28",
6868
"image2": "http://localhost/mod/questionnaire/images/hbar.gif",
6969
"alt3": "alt3",
7070
"image3": "http://localhost/mod/questionnaire/images/hbar_r.gif",

0 commit comments

Comments
 (0)