[Racket] Ferti hydroponic nutrient solver, redux.
Use more accurate button names.
views.rkt
@@ -121,18 +121,18 @@
121
121
`(tr (td ((class "font-monospace")) ,(normal-date (nutrient-measurement-date m)))
122
122
(td (a ((class "btn btn-outline-secondary btn-sm")
123
123
(href ,(format "/ferti/measurements/~a" (nutrient-measurement-id m))))
124
Removed:
"Modifier"))
124
Added:
"Voir"))
125
125
(td ,(if maybe-rotation
126
126
`(a ((class "btn btn-outline-secondary btn-sm")
127
127
(href ,(format "/ferti/rotations/~a" (crop-rotation-id maybe-rotation))))
128
Removed:
"Modifier")
128
Added:
"Voir")
129
129
`(a ((class "btn btn-outline-primary btn-sm")
130
130
(href ,(format "/ferti/rotations/new/~a" (nutrient-measurement-date m))))
131
131
"Ajouter")))
132
132
(td ,(if maybe-rotation
133
133
`(a ((class "btn btn-outline-secondary btn-sm")
134
134
(href ,(format "/ferti/recipes/~a" (crop-rotation-date maybe-rotation))))
135
Removed:
"Consulter")
135
Added:
"Voir")
136
136
"—")))))))
137
137
(ferti-template `((h2 () "Relevés et Assolements")
138
138
(div ((class "btn-group mb-3"))