[Pharo] Personal fitness tracker web app.
Update muscles and the corresponding article.
Changed files
src/MyFitnessTracker/MFTMuscle.class.st
@@ -31,7 +31,7 @@
31
31
MFTMuscle class >> deltoidMedial [
32
32
33
33
^ self new
34
Removed:
name: 'deltoid (medial)';
34
Added:
nameEnglish: 'deltoid (medial)';
35
35
nameLatin: 'deltoideus';
36
36
yourself
37
37
]
@@ -40,7 +40,7 @@
40
40
MFTMuscle class >> deltoidPosterior [
41
41
42
42
^ self new
43
Removed:
name: 'deltoid (posterior)';
43
Added:
nameEnglish: 'deltoid (posterior)';
44
44
nameLatin: 'deltoideus';
45
45
yourself
46
46
]
@@ -58,8 +58,8 @@
58
58
MFTMuscle class >> hamstring [
59
59
60
60
^ self new
61
Removed:
name: 'triceps';
62
Removed:
description: '';
61
Added:
nameEnglish: 'hamstring';
62
Added:
description: '';
63
63
yourself
64
64
]
65
65
src/MyFitnessTracker/MFTMuscleGroup.class.st
@@ -142,7 +142,7 @@
142
142
MFTMuscleGroup >> renderContentOn: html [
143
143
144
144
html container: [
145
Removed:
html heading: name capitalized.
145
Added:
html heading level2 with: name capitalized.
146
146
description ifNotEmpty: [
147
147
html
148
148
text: description;
@@ -153,7 +153,7 @@
153
153
definitionList: [
154
154
muscles do: [ :muscle |
155
155
html definitionTerm: [
156
Removed:
html text: muscle nameEnglish.
156
Added:
html text: muscle nameEnglish capitalized.
157
157
muscle nameLatin ifNotEmpty: [
158
158
html space.
159
159
html text: '('.
src/MyFitnessTracker/MFTMusclesArticle.class.st
@@ -25,7 +25,5 @@
25
25
26
26
html container: [
27
27
html heading: title.
28
Removed:
muscleGroups do: [ :muscleGroup |
29
Removed:
html heading level2 with: muscleGroup name asCapitalizedPhrase.
30
Removed:
muscleGroup renderContentOn: html ] ]
28
Added:
muscleGroups do: [ :muscleGroup | muscleGroup renderContentOn: html ] ]
31
29
]
src/MyFitnessTracker/MFTScreenComponent.class.st
@@ -29,6 +29,5 @@
29
29
MFTScreenComponent >> renderContentOn: html [
30
30
31
31
html render: header.
32
Removed:
html render: mainTabs.
33
Removed:
(MFTMuscleGroup abdominal) renderContentOn: html.
32
Added:
html render: mainTabs
34
33
]