Back to all events button
This commit is contained in:
@@ -1,21 +1,23 @@
|
|||||||
.row
|
.row
|
||||||
.col
|
.col
|
||||||
h4.mb-3 style="margin-top: -1rem;"
|
h4.mb-3
|
||||||
= t("events.show.manage_contests")
|
= 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")
|
= t("events.show.modify")
|
||||||
|
a.ms-2.btn.btn-primary href="/events"
|
||||||
|
= t("events.show.back_to_events")
|
||||||
.float-end
|
.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")
|
= t("events.show.new_contest")
|
||||||
|
|
||||||
- if @event.shared_scoreboard
|
- 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")
|
= t("events.show.open_shared_scoreboard")
|
||||||
- else
|
- else
|
||||||
a.btn.btn-success.disabled style="margin-top: -6px;"
|
a.btn.btn-success.disabled
|
||||||
= t("events.show.shared_scoreboard_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|
|
- @contests.each do |contest|
|
||||||
.col
|
.col
|
||||||
css:
|
css:
|
||||||
|
|||||||
@@ -308,6 +308,7 @@ en:
|
|||||||
notice: Event added
|
notice: Event added
|
||||||
title: New event
|
title: New event
|
||||||
show:
|
show:
|
||||||
|
back_to_events: Back to all events
|
||||||
manage_contests: Contests in this event
|
manage_contests: Contests in this event
|
||||||
modify: Settings
|
modify: Settings
|
||||||
new_contest: Add a contest to this event
|
new_contest: Add a contest to this event
|
||||||
|
|||||||
@@ -279,6 +279,7 @@ fr:
|
|||||||
notice: Événement ajouté
|
notice: Événement ajouté
|
||||||
title: Nouvel événement
|
title: Nouvel événement
|
||||||
show:
|
show:
|
||||||
|
back_to_events: Retour aux événements
|
||||||
manage_contests: Épreuves de cet événement
|
manage_contests: Épreuves de cet événement
|
||||||
modify: Paramètres
|
modify: Paramètres
|
||||||
new_contest: Ajouter une épreuve à cet événement
|
new_contest: Ajouter une épreuve à cet événement
|
||||||
|
|||||||
Reference in New Issue
Block a user