[Pharo] Personal fitness tracker web app.
Update MFT plan page and navbar appearance.
Changed files
src/MyFitnessTracker-Web/MFTNavbarComponent.class.st
@@ -74,7 +74,7 @@
74
74
html listItem: [
75
75
html anchor
76
76
callback: callback;
77
Removed:
with: titleKey ] ] ];
77
Added:
with: titleKey capitalized ] ] ];
78
78
unorderedList: [
79
79
html listItem: [
80
80
html anchor
src/MyFitnessTracker-Web/MFTPlanPage.class.st
@@ -39,9 +39,18 @@
39
39
routine := self session user trainee routine.
40
40
41
41
routine workouts do: [ :workoutPrescription |
42
Removed:
html render:
43
Removed:
(MFTWorkoutPrescriptionViewerComponent forPrescription:
44
Removed:
workoutPrescription) ]
42
Added:
html heading
43
Added:
level: 2;
44
Added:
with: workoutPrescription canonicalName.
45
Added:
html orderedList: [
46
Added:
workoutPrescription setGroups do: [ :setGroup |
47
Added:
html listItem: [
48
Added:
html
49
Added:
text: setGroup canonicalName capitalized;
50
Added:
text: ': ';
51
Added:
text:
52
Added:
((setGroup sets collect: [ :set | set exercise canonicalName ])
53
Added:
joinUsing: ', ') ] ] ] ]
45
54
]
46
55
47
56
{ #category : 'accessing' }