Events: clarify messages
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
a.btn.btn-primary.mb-4 href=new_contest_path
|
||||
= t("contests.index.new_contest")
|
||||
|
||||
.alert.alert-primary role="alert"
|
||||
= t("contests.index.message")
|
||||
|
||||
.row.row-cols-1.row-cols-md-3.g-4
|
||||
- @contests.each do |contest|
|
||||
.col
|
||||
|
||||
@@ -31,6 +31,6 @@
|
||||
= t("events.index.my_contests_outside_events")
|
||||
.card-body
|
||||
.card-text.mb-2
|
||||
= "#{@contests_without_event} " + t("events.index.contests") if @contests_without_event > 1
|
||||
= "#{@contests_without_event} " + t("events.index.contest") if @contests_without_event <= 1
|
||||
= "#{@contests_without_event} " + t("events.index.other_contests") if @contests_without_event > 1
|
||||
= "#{@contests_without_event} " + t("events.index.other_contest") if @contests_without_event <= 1
|
||||
a.stretched-link href=contests_path
|
||||
@@ -10,7 +10,7 @@ html
|
||||
- if @current_user.admin
|
||||
a.navbar-brand href=users_path class="btn btn-light" style="margin-right: 0"
|
||||
= t("nav.users")
|
||||
a.navbar-brand href=contests_path class="btn btn-light" style="margin-right: 0"
|
||||
a.navbar-brand href=events_path class="btn btn-light" style="margin-right: 0"
|
||||
= t("nav.home")
|
||||
a.navbar-brand href=user_path(@current_user) class="btn btn-light"
|
||||
= t("nav.settings")
|
||||
|
||||
Reference in New Issue
Block a user