Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Patricio Sanchez
/
quiniela-mundial
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Iker Narvaez
2018-06-11 10:22:03 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
91a484b60f0a78e5c0e8cd13582d805442fc8746
91a484b6
1 parent
95d02435
show label with no data
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
17 deletions
app/views/application/_leaderboard.html.slim
app/views/application/_results.html.slim
app/views/application/_upcoming_matches.html.slim
app/views/application/_leaderboard.html.slim
View file @
91a484b
h1
Leaderboard
table
.leaderboard
tbody
tr
-
@leaders
.
each
do
|
user
,
points
|
td
=
user
td
=
points
tr
td
=
user
td
=
points
-
if
@leaders
.
empty?
tr
td
colspan
=
2
There
are
no
results
yet
...
...
app/views/application/_results.html.slim
View file @
91a484b
h1
Your
most
recent
results
table
tbody
tr
-
@results
.
each
do
|
r
|
td
=
r
.
match
.
local
td
VS
td
=
r
.
match
.
visit
td
=
r
.
points
tr
td
=
r
.
match
.
local
td
VS
td
=
r
.
match
.
visit
td
=
r
.
points
-
if
@results
.
empty?
tr
td
colspan
=
4
There
are
no
finished
matches
yet
.
...
...
app/views/application/_upcoming_matches.html.slim
View file @
91a484b
...
...
@@ -11,10 +11,13 @@ table.upcoming
h1
Recent
matches
table
.recent
tbody
tr
-
@recent_matches
.
each
do
|
match
|
td
=
l
(
match
.
date
,
format: :short
)
td
=
match
.
local
td
=
match
.
score_local
td
=
match
.
visit
td
=
match
.
score_visit
-
@recent_matches
.
each
do
|
match
|
tr
td
=
l
(
match
.
date
,
format: :short
)
td
=
match
.
local
td
=
match
.
score_local
td
=
match
.
visit
td
=
match
.
score_visit
-
if
@recent_matches
.
empty?
tr
td
colspan
=
4
There
are
no
finished
matches
yet
.
...
...
Please
register
or
login
to post a comment