Moved test database teardown into defer blocks and unified the one-decimal formatting in the Website service.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
06953a1be0
commit
e0524da525
16 files changed
+118
-146
No files matched your search
@@ -66,7 +66,7 @@ extension GradingGuidePage: Page {
|
||||
ForEach(Grading.scale) { step in
|
||||
li(.class("guide__grade")) {
|
||||
strong {
|
||||
step.grade.gradeLabel
|
||||
step.grade.oneDecimal
|
||||
}
|
||||
span {
|
||||
step.code
|
||||
@@ -83,7 +83,7 @@ extension GradingGuidePage: Page {
|
||||
li(.class("card guide__reference")) {
|
||||
div(.class("guide__reference-grade")) {
|
||||
span(.class("type-stat")) {
|
||||
reference.grade.gradeLabel
|
||||
reference.grade.oneDecimal
|
||||
}
|
||||
span(.class("type-label")) {
|
||||
reference.name
|
||||
@@ -94,7 +94,7 @@ extension GradingGuidePage: Page {
|
||||
.class("guide__photo"),
|
||||
.custom(name: "aria-hidden", value: "true")
|
||||
) {
|
||||
"Photo: \(reference.grade.gradeLabel) example"
|
||||
"Photo: \(reference.grade.oneDecimal) example"
|
||||
}
|
||||
div {
|
||||
h3(.class("type-eyebrow guide__allowed")) {
|
||||
|
||||
Reference in new issue
Block a user