Skip to content

Commit

Permalink
tweak to static page
Browse files Browse the repository at this point in the history
  • Loading branch information
wwahammy committed Jun 16, 2018
1 parent 239ffdb commit 2b48be4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/static/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@
-elsif match.status == "in progress"
.live
= image_tag("http://www.countryflags.io/#{match.home_team.iso_code}/flat/16.png")
#{match.home_team.country} (#{match.home_team_score}) Vs #{match.away_team.country} (#{match.away_team_score}) (#{match.time})
#{match.home_team.country} (#{match.home_team_score}) Vs #{match.away_team.country} (#{match.away_team_score})
= image_tag("http://www.countryflags.io/#{match.away_team.iso_code}/flat/16.png")
( #{match.time} )
-else
#{match.home_team.country} Vs #{match.away_team.country} -- #{(match.datetime).strftime("%H:%M")}

Expand Down

0 comments on commit 2b48be4

Please sign in to comment.