Some contest pages translations
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
.row
|
||||
.col
|
||||
h4.mb-3
|
||||
| Manage your contests
|
||||
= t("contests.index.manage_contests")
|
||||
.float-end
|
||||
a.btn.btn-primary.mb-4 href=new_contest_path
|
||||
| Create a new contest
|
||||
= t("contests.index.new_contest")
|
||||
|
||||
.row.row-cols-1.row-cols-md-3.g-4
|
||||
- @contests.each do |contest|
|
||||
|
@@ -42,8 +42,7 @@
|
||||
.col-6
|
||||
.row
|
||||
.col
|
||||
h4
|
||||
| Contestants
|
||||
h4 = t("contests.show.contestants")
|
||||
table.table.table-striped.table-hover
|
||||
thead
|
||||
tr
|
||||
@@ -66,4 +65,4 @@
|
||||
.row.mt-4
|
||||
.col
|
||||
a.btn.btn-primary href=new_contest_contestant_path(@contest)
|
||||
| Add contestant
|
||||
= t("contests.show.add_participant")
|
||||
|
@@ -9,12 +9,12 @@ html
|
||||
nav.navbar.bg-body-primary
|
||||
- if @current_user.admin
|
||||
a.navbar-brand href=users_path
|
||||
| Users
|
||||
= t("nav.users")
|
||||
a.navbar-brand href=contests_path
|
||||
| Home
|
||||
= t("nav.home")
|
||||
a.navbar-brand href=user_path(@current_user)
|
||||
| Settings
|
||||
= button_to "Log out", session_path, method: :delete
|
||||
= t("nav.settings")
|
||||
= button_to t("nav.log_out"), session_path, method: :delete
|
||||
|
||||
h1.mb-4 = @title
|
||||
|
||||
|
Reference in New Issue
Block a user