File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 354354 </td >
355355
356356 @* error summary *@
357- <td v-if =" mod.Loaded && !mod.Errors" class =" color-green" >no errors</td >
358- <td v-else-if =" !mod.Loaded" class =" color-red" >
359- <template v-if =" !mod.Errors" >failed to load</template >
360- <template v-else-if =" mod.Errors == 1" >failed to load + 1 error</template >
361- <template v-else >failed to load + {{ mod .Errors }} errors</template >
362- </td >
363- <template v-else class =" color-red" >
364- <template v-if =" mod.Errors == 1" >1 error</template >
365- <template v-else >{{ mod .Errors }} errors</template >
366- </template >
357+ <td v-if =" !mod.Loaded" class =" has-errors" >failed to load</td >
358+ <td v-else-if =" mod.Errors" class =" has-errors" >{{ mod .Errors }} {{ mod .Errors == 1 ? " error" : " errors" }} </td >
359+ <td v-else class =" no-errors" >no errors</td >
367360 </tr >
368361 </table >
369362
Original file line number Diff line number Diff line change @@ -127,11 +127,11 @@ table caption {
127127 min-width : 400px ;
128128}
129129
130- # mods . color-red {
130+ # mods td . has-errors {
131131 color : red;
132132}
133133
134- # mods . color-green {
134+ # mods td . no-errors {
135135 color : green;
136136}
137137
You can’t perform that action at this time.
0 commit comments