|
| @@ -3146,7 +3146,39 @@ func MRChecks(c ChecksSection) templ.Component { |
| 3146 | | return templ_7745c5c3_Err | 3146 | | return templ_7745c5c3_Err |
| 3147 | | } | 3147 | | } |
| 3148 | | for _, r := range c.Rows { | 3148 | | for _, r := range c.Rows { |
| 3149 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 269, "<li>") | 3149 | + | if r.GroupLabel != "" { |
| | | 3150 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 269, "<li class=\"ck-group\"><a href=\"") |
| | | 3151 | + | if templ_7745c5c3_Err != nil { |
| | | 3152 | + | return templ_7745c5c3_Err |
| | | 3153 | + | } |
| | | 3154 | + | var templ_7745c5c3_Var165 templ.SafeURL |
| | | 3155 | + | templ_7745c5c3_Var165, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.GroupHref)) |
| | | 3156 | + | if templ_7745c5c3_Err != nil { |
| | | 3157 | + | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 460, Col: 63} |
| | | 3158 | + | } |
| | | 3159 | + | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var165)) |
| | | 3160 | + | if templ_7745c5c3_Err != nil { |
| | | 3161 | + | return templ_7745c5c3_Err |
| | | 3162 | + | } |
| | | 3163 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 270, "\">") |
| | | 3164 | + | if templ_7745c5c3_Err != nil { |
| | | 3165 | + | return templ_7745c5c3_Err |
| | | 3166 | + | } |
| | | 3167 | + | var templ_7745c5c3_Var166 string |
| | | 3168 | + | templ_7745c5c3_Var166, templ_7745c5c3_Err = templ.JoinStringErrs(r.GroupLabel) |
| | | 3169 | + | if templ_7745c5c3_Err != nil { |
| | | 3170 | + | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 460, Col: 80} |
| | | 3171 | + | } |
| | | 3172 | + | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var166)) |
| | | 3173 | + | if templ_7745c5c3_Err != nil { |
| | | 3174 | + | return templ_7745c5c3_Err |
| | | 3175 | + | } |
| | | 3176 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 271, "</a></li>") |
| | | 3177 | + | if templ_7745c5c3_Err != nil { |
| | | 3178 | + | return templ_7745c5c3_Err |
| | | 3179 | + | } |
| | | 3180 | + | } |
| | | 3181 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 272, " <li>") |
| 3150 | | if templ_7745c5c3_Err != nil { | 3182 | | if templ_7745c5c3_Err != nil { |
| 3151 | | return templ_7745c5c3_Err | 3183 | | return templ_7745c5c3_Err |
| 3152 | | } | 3184 | | } |
|
| @@ -3155,108 +3187,108 @@ func MRChecks(c ChecksSection) templ.Component { |
| 3155 | | return templ_7745c5c3_Err | 3187 | | return templ_7745c5c3_Err |
| 3156 | | } | 3188 | | } |
| 3157 | | if r.Href != "" { | 3189 | | if r.Href != "" { |
| 3158 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 270, "<a href=\"") | 3190 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 273, "<a href=\"") |
| 3159 | | if templ_7745c5c3_Err != nil { | 3191 | | if templ_7745c5c3_Err != nil { |
| 3160 | | return templ_7745c5c3_Err | 3192 | | return templ_7745c5c3_Err |
| 3161 | | } | 3193 | | } |
| 3162 | - | var templ_7745c5c3_Var165 templ.SafeURL | 3194 | + | var templ_7745c5c3_Var167 templ.SafeURL |
| 3163 | - | templ_7745c5c3_Var165, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.Href)) | 3195 | + | templ_7745c5c3_Var167, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.Href)) |
| 3164 | | if templ_7745c5c3_Err != nil { | 3196 | | if templ_7745c5c3_Err != nil { |
| 3165 | - | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 462, Col: 38} | 3197 | + | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 465, Col: 38} |
| 3166 | | } | 3198 | | } |
| 3167 | - | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var165)) | 3199 | + | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var167)) |
| 3168 | | if templ_7745c5c3_Err != nil { | 3200 | | if templ_7745c5c3_Err != nil { |
| 3169 | | return templ_7745c5c3_Err | 3201 | | return templ_7745c5c3_Err |
| 3170 | | } | 3202 | | } |
| 3171 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 271, "\">") | 3203 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 274, "\">") |
| 3172 | | if templ_7745c5c3_Err != nil { | 3204 | | if templ_7745c5c3_Err != nil { |
| 3173 | | return templ_7745c5c3_Err | 3205 | | return templ_7745c5c3_Err |
| 3174 | | } | 3206 | | } |
| 3175 | - | var templ_7745c5c3_Var166 string | 3207 | + | var templ_7745c5c3_Var168 string |
| 3176 | - | templ_7745c5c3_Var166, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) | 3208 | + | templ_7745c5c3_Var168, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) |
| 3177 | | if templ_7745c5c3_Err != nil { | 3209 | | if templ_7745c5c3_Err != nil { |
| 3178 | - | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 462, Col: 49} | 3210 | + | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 465, Col: 49} |
| 3179 | | } | 3211 | | } |
| 3180 | - | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var166)) | 3212 | + | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var168)) |
| 3181 | | if templ_7745c5c3_Err != nil { | 3213 | | if templ_7745c5c3_Err != nil { |
| 3182 | | return templ_7745c5c3_Err | 3214 | | return templ_7745c5c3_Err |
| 3183 | | } | 3215 | | } |
| 3184 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 272, "</a> ") | 3216 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 275, "</a> ") |
| 3185 | | if templ_7745c5c3_Err != nil { | 3217 | | if templ_7745c5c3_Err != nil { |
| 3186 | | return templ_7745c5c3_Err | 3218 | | return templ_7745c5c3_Err |
| 3187 | | } | 3219 | | } |
| 3188 | | } else { | 3220 | | } else { |
| 3189 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 273, "<span>") | 3221 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 276, "<span>") |
| 3190 | | if templ_7745c5c3_Err != nil { | 3222 | | if templ_7745c5c3_Err != nil { |
| 3191 | | return templ_7745c5c3_Err | 3223 | | return templ_7745c5c3_Err |
| 3192 | | } | 3224 | | } |
| 3193 | - | var templ_7745c5c3_Var167 string | 3225 | + | var templ_7745c5c3_Var169 string |
| 3194 | - | templ_7745c5c3_Var167, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) | 3226 | + | templ_7745c5c3_Var169, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) |
| 3195 | | if templ_7745c5c3_Err != nil { | 3227 | | if templ_7745c5c3_Err != nil { |
| 3196 | - | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 464, Col: 21} | 3228 | + | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 467, Col: 21} |
| 3197 | | } | 3229 | | } |
| 3198 | - | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var167)) | 3230 | + | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var169)) |
| 3199 | | if templ_7745c5c3_Err != nil { | 3231 | | if templ_7745c5c3_Err != nil { |
| 3200 | | return templ_7745c5c3_Err | 3232 | | return templ_7745c5c3_Err |
| 3201 | | } | 3233 | | } |
| 3202 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 274, "</span> ") | 3234 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 277, "</span> ") |
| 3203 | | if templ_7745c5c3_Err != nil { | 3235 | | if templ_7745c5c3_Err != nil { |
| 3204 | | return templ_7745c5c3_Err | 3236 | | return templ_7745c5c3_Err |
| 3205 | | } | 3237 | | } |
| 3206 | | } | 3238 | | } |
| 3207 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 275, "<span class=\"dim\">") | 3239 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 278, "<span class=\"dim\">") |
| 3208 | | if templ_7745c5c3_Err != nil { | 3240 | | if templ_7745c5c3_Err != nil { |
| 3209 | | return templ_7745c5c3_Err | 3241 | | return templ_7745c5c3_Err |
| 3210 | | } | 3242 | | } |
| 3211 | - | var templ_7745c5c3_Var168 string | 3243 | + | var templ_7745c5c3_Var170 string |
| 3212 | - | templ_7745c5c3_Var168, templ_7745c5c3_Err = templ.JoinStringErrs(r.State) | 3244 | + | templ_7745c5c3_Var170, templ_7745c5c3_Err = templ.JoinStringErrs(r.State) |
| 3213 | | if templ_7745c5c3_Err != nil { | 3245 | | if templ_7745c5c3_Err != nil { |
| 3214 | - | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 466, Col: 33} | 3246 | + | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 469, Col: 33} |
| 3215 | | } | 3247 | | } |
| 3216 | - | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var168)) | 3248 | + | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var170)) |
| 3217 | | if templ_7745c5c3_Err != nil { | 3249 | | if templ_7745c5c3_Err != nil { |
| 3218 | | return templ_7745c5c3_Err | 3250 | | return templ_7745c5c3_Err |
| 3219 | | } | 3251 | | } |
| 3220 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 276, "</span> ") | 3252 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 279, "</span> ") |
| 3221 | | if templ_7745c5c3_Err != nil { | 3253 | | if templ_7745c5c3_Err != nil { |
| 3222 | | return templ_7745c5c3_Err | 3254 | | return templ_7745c5c3_Err |
| 3223 | | } | 3255 | | } |
| 3224 | | if r.Waiting { | 3256 | | if r.Waiting { |
| 3225 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 277, "<span class=\"mute\">waiting for a runner</span>") | 3257 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, "<span class=\"mute\">waiting for a runner</span>") |
| 3226 | | if templ_7745c5c3_Err != nil { | 3258 | | if templ_7745c5c3_Err != nil { |
| 3227 | | return templ_7745c5c3_Err | 3259 | | return templ_7745c5c3_Err |
| 3228 | | } | 3260 | | } |
| 3229 | | } | 3261 | | } |
| 3230 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 278, "</li>") | 3262 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, "</li>") |
| 3231 | | if templ_7745c5c3_Err != nil { | 3263 | | if templ_7745c5c3_Err != nil { |
| 3232 | | return templ_7745c5c3_Err | 3264 | | return templ_7745c5c3_Err |
| 3233 | | } | 3265 | | } |
| 3234 | | } | 3266 | | } |
| 3235 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 279, "</ul>") | 3267 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, "</ul>") |
| 3236 | | if templ_7745c5c3_Err != nil { | 3268 | | if templ_7745c5c3_Err != nil { |
| 3237 | | return templ_7745c5c3_Err | 3269 | | return templ_7745c5c3_Err |
| 3238 | | } | 3270 | | } |
| 3239 | | } | 3271 | | } |
| 3240 | | if c.Note != "" { | 3272 | | if c.Note != "" { |
| 3241 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, "<p class=\"rule-note\"><span class=\"sr\">note: </span>") | 3273 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 283, "<p class=\"rule-note\"><span class=\"sr\">note: </span>") |
| 3242 | | if templ_7745c5c3_Err != nil { | 3274 | | if templ_7745c5c3_Err != nil { |
| 3243 | | return templ_7745c5c3_Err | 3275 | | return templ_7745c5c3_Err |
| 3244 | | } | 3276 | | } |
| 3245 | - | var templ_7745c5c3_Var169 string | 3277 | + | var templ_7745c5c3_Var171 string |
| 3246 | - | templ_7745c5c3_Var169, templ_7745c5c3_Err = templ.JoinStringErrs(c.Note) | 3278 | + | templ_7745c5c3_Var171, templ_7745c5c3_Err = templ.JoinStringErrs(c.Note) |
| 3247 | | if templ_7745c5c3_Err != nil { | 3279 | | if templ_7745c5c3_Err != nil { |
| 3248 | - | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 475, Col: 62} | 3280 | + | return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/actions.templ`, Line: 478, Col: 62} |
| 3249 | | } | 3281 | | } |
| 3250 | - | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var169)) | 3282 | + | _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var171)) |
| 3251 | | if templ_7745c5c3_Err != nil { | 3283 | | if templ_7745c5c3_Err != nil { |
| 3252 | | return templ_7745c5c3_Err | 3284 | | return templ_7745c5c3_Err |
| 3253 | | } | 3285 | | } |
| 3254 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, "</p>") | 3286 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 284, "</p>") |
| 3255 | | if templ_7745c5c3_Err != nil { | 3287 | | if templ_7745c5c3_Err != nil { |
| 3256 | | return templ_7745c5c3_Err | 3288 | | return templ_7745c5c3_Err |
| 3257 | | } | 3289 | | } |
| 3258 | | } | 3290 | | } |
| 3259 | - | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, "</section>") | 3291 | + | templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 285, "</section>") |
| 3260 | | if templ_7745c5c3_Err != nil { | 3292 | | if templ_7745c5c3_Err != nil { |
| 3261 | | return templ_7745c5c3_Err | 3293 | | return templ_7745c5c3_Err |
| 3262 | | } | 3294 | | } |