Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Buckets are permanently redirected to specific endpoints.
  • Loading branch information
nickelsen committed Apr 13, 2016
commit 2a6661b7ed6f1bdea05ae5c40c3f2d53f33955ed
4 changes: 2 additions & 2 deletions app/views/matches/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<% if @match.map_url.present? || @match.map["s2ma_hash"].present? %>
<div class="last map block">
<% if [email protected]_url || @match.map_url.blank? %>
<img class="minimap" height="90" src="http://s3.amazonaws.com/<%= Rails.configuration.s3['minimaps']['bucket'] %>/<%= @match.map["s2ma_hash"] %>_100.png" />
<img class="minimap" height="90" src="http://<%= Rails.configuration.s3['minimaps']['bucket'] %>.s3.amazonaws.com/<%= @match.map["s2ma_hash"] %>_100.png" />
<% else %>
<img src="<%= @match.map_url %>"/>
<% end %>
Expand Down Expand Up @@ -62,7 +62,7 @@
<div class="top">
<%= render 'shared/sidebarad' %>

<matchmap data-framee="current_framee" data-minimapurl="http://s3.amazonaws.com/<%= Rails.configuration.s3['minimaps']['bucket'] %>/<%= @match.map["s2ma_hash"] %>_100.png" data-match="match"></matchmap>
<matchmap data-framee="current_framee" data-minimapurl="http://<%= Rails.configuration.s3['minimaps']['bucket'] %>.s3.amazonaws.com/<%= @match.map["s2ma_hash"] %>_100.png" data-match="match"></matchmap>
<a href class="ggtipper2" title="Total army strength in minerals + gas throughout the game.<br><br>Move your mouse over the chart to see what was in each army at any point in the game.<br><br>Click and drag to zoom.<br><br>Click on the chart to freeze that time selection." data-gravity="nw">
<span class="title lefty">army strength, minerals + gas</span>
</a>
Expand Down