Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
"noResultsDescription": "No results found for this query, consider reducing the number of filters.",
"routines": {
"addDay": "Add training day",
"addSet": "Add workout set",
"addWeightLog": "Add training log",
"logsHeader": "Training log for workout",
"logsFilterNote": "Note that only entries with a weight unit of kg or lb and repetitions are charted, other combinations such as time or until failure are ignored here",
Expand Down
9 changes: 6 additions & 3 deletions src/components/WorkoutRoutines/Detail/RoutineDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
Menu,
MenuItem,
Stack,
Tooltip,
Typography
} from "@mui/material";
import { LoadingPlaceholder } from "components/Core/LoadingWidget/LoadingWidget";
Expand Down Expand Up @@ -251,9 +252,11 @@ const DayDetails = (props: { day: Day }) => {
</Stack>
</CardContent>
<CardActions>
<IconButton onClick={navigateAddSet}>
<Add />
</IconButton>
<Tooltip title={t('routines.addSet')} placement="bottom">
<IconButton onClick={navigateAddSet}>
<Add />
</IconButton>
</Tooltip>
</CardActions>
</Card>
);
Expand Down