Skip to content

Commit

Permalink
add jist button to match page
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcui committed May 29, 2016
1 parent 3748261 commit adbc726
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Binary file added public/images/jist-white-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions views/match/match.jade
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ append head
block content
.row
.col-md-6
h2 Match #{match.match_id}
small
br
h2 Match #{match.match_id}
small(class=match.radiant_win ? "text-success" : "text-danger")= match.radiant_win ? "Radiant Victory" : "Dire Victory"
br
a(style="margin-left:1em;" href="/request#"+match.match_id, class="btn btn-sm" class=match.version ? "btn-success" : "btn-primary") #{match.version ? "Re-Parse Match" : "Request Parse"}
if match.replay_url
a(style="margin-left:1em;" href=match.replay_url, class="btn btn-sm btn-default") Download Replay

a(style="margin-left:1em;" href="#{'https://www.jist.tv/create.php?dota2-match-url=' + match.replay_url}", class="btn btn-sm btn-default")
| Get Video With
img(src='/public/images/jist-white-logo.png', style="height: 17px")
.col-md-6.table-responsive
h2
table.table.table-condensed.small
Expand Down

0 comments on commit adbc726

Please sign in to comment.