:lipstick: change see button in event card. primary color + change text
Hadrien Froger hadrien@octree.ch
Tue, 08 Sep 2020 07:25:47 +0100
2 files changed,
4 insertions(+),
4 deletions(-)
M
app/src/containers/DashboardEvents/EventCard.js
→
app/src/containers/DashboardEvents/EventCard.js
@@ -27,9 +27,9 @@ {event.address || t('event.fields.empty')}
</Typography> </CardContent> <CardActions> - <Link to={`/e/${event.id}`}> - <Button>{t('dashboard.actions.see_event')}</Button> - </Link> + <Button component={Link} to={`/e/${event.id}`} color="primary"> + {t('dashboard.actions.see_event')} + </Button> </CardActions> </Card> );
M
app/src/locales/fr.json
→
app/src/locales/fr.json
@@ -104,7 +104,7 @@ },
"dashboard": { "title": "Évènements", "actions": { - "see_event": "Voir", + "see_event": "Voir plus", "add_event": "Créer un caroster" }, "sections": {