diff --git a/views/partials/player-history.ejs b/views/partials/player-history.ejs index 9f6b61f..3e082aa 100644 --- a/views/partials/player-history.ejs +++ b/views/partials/player-history.ejs @@ -4,33 +4,35 @@ const chartPdgaNumber = hasPlayer ? player.pdgaNumber : pdgaNumber; %>
<% if (hasPlayer) { %> -
-
-
Current rating
-
<%= player.rating ?? '—' %>
-
-
-
Last month
-
<%= player.lastMonthRating ?? '—' %>
-
-
-
Change vs last month
-
- <% if (player.ratingChange != null) { %><%- include('delta-pill', { value: player.ratingChange }) %><% } else { %>—<% } %> -
-
-
-
Predicted next update
-
<%= player.predictedRating ?? '—' %>
-
-
-
Gap to predicted
-
- <% if (player.deltaPredicted != null) { %><%- include('delta-pill', { value: player.deltaPredicted, extraClass: 'delta-predicted-pill' }) %><% } else { %>—<% } %> -
-
-
- +
+
+
+
Current rating
+
<%= player.rating ?? '—' %>
+
+
+
Last month
+
<%= player.lastMonthRating ?? '—' %>
+
+
+
Change vs last month
+
+ <% if (player.ratingChange != null) { %><%- include('delta-pill', { value: player.ratingChange }) %><% } else { %>—<% } %> +
+
+
+
Predicted next update
+
<%= player.predictedRating ?? '—' %>
+
+
+
Gap to predicted
+
+ <% if (player.deltaPredicted != null) { %><%- include('delta-pill', { value: player.deltaPredicted, extraClass: 'delta-predicted-pill' }) %><% } else { %>—<% } %> +
+
+
+ +
<% } %> <% if (history && history.length > 0) { %>