diff --git a/app/views/events/show.html.slim b/app/views/events/show.html.slim
index 902ca00..bd67d0f 100644
--- a/app/views/events/show.html.slim
+++ b/app/views/events/show.html.slim
@@ -1,21 +1,23 @@
.row
.col
- h4.mb-3 style="margin-top: -1rem;"
+ h4.mb-3
= t("events.show.manage_contests")
- a.ms-3.mt-3.btn.btn-primary.mb-4 href=edit_event_path(@event)
+ a.ms-3.btn.btn-primary href=edit_event_path(@event)
= t("events.show.modify")
+ a.ms-2.btn.btn-primary href="/events"
+ = t("events.show.back_to_events")
.float-end
- a.mt-3.btn.btn-primary.mb-4 href=new_contest_path(event: @event.id)
+ a.btn.btn-primary href=new_contest_path(event: @event.id)
= t("events.show.new_contest")
- if @event.shared_scoreboard
- a.btn.btn-success href="/public/event/#{@event.slug}" style="margin-top: -6px;"
+ a.btn.btn-success href="/public/event/#{@event.slug}"
= t("events.show.open_shared_scoreboard")
- else
- a.btn.btn-success.disabled style="margin-top: -6px;"
+ a.btn.btn-success.disabled
= t("events.show.shared_scoreboard_disabled")
-.mt-3.row.row-cols-1.row-cols-md-3.g-4
+.mt-2.row.row-cols-1.row-cols-md-3.g-4
- @contests.each do |contest|
.col
css:
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 7ef2c2c..2bd7584 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -308,6 +308,7 @@ en:
notice: Event added
title: New event
show:
+ back_to_events: Back to all events
manage_contests: Contests in this event
modify: Settings
new_contest: Add a contest to this event
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index c84dc31..8e8d355 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -279,6 +279,7 @@ fr:
notice: Événement ajouté
title: Nouvel événement
show:
+ back_to_events: Retour aux événements
manage_contests: Épreuves de cet événement
modify: Paramètres
new_contest: Ajouter une épreuve à cet événement