Support remaining pieces in completions and scoreboards
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
- else
|
||||
th scope="col"
|
||||
= t("activerecord.attributes.completion.display_time")
|
||||
th scope="col"
|
||||
= t("activerecord.attributes.completion.remaining_pieces")
|
||||
th scope="col"
|
||||
= t("activerecord.attributes.completion.puzzle")
|
||||
tbody
|
||||
@@ -54,6 +56,8 @@
|
||||
- if @contest.puzzles.size > 1
|
||||
td
|
||||
= completion.display_relative_time
|
||||
td
|
||||
= completion.remaining_pieces
|
||||
td
|
||||
- if !completion.puzzle.brand.blank?
|
||||
| #{completion.puzzle.name} - #{completion.puzzle.brand}
|
||||
|
||||
Reference in New Issue
Block a user