Skip to content

Commit

Permalink
Update teamsheet view
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwatson484 committed Aug 17, 2022
1 parent 348d564 commit ff9c029
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions app/views/teamsheet.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
<div class="card-body small">
{% for player in team.keepers %}
<div class="row">
<div class="col-md-2">GK</div>
<div class="col-md-9">{{ player.name}}{% if player.substitute %} (sub){% endif %}</div>
<div class="col-2">GK</div>
<div class="col-9">{{ player.name}}{% if player.substitute %} (sub){% endif %}</div>
</div>
{% endfor %}
{% for player in team.players %}
<div class="row">
<div class="col-md-2">{{ player.position[0] }}</div>
<div class="col-md-6">{{ player.fullName}}{% if player.substitute %} (sub){% endif %}</div>
<div class="col-md-4">{{ player.team}}</div>
<div class="col-2">{{ player.position[0] }}</div>
<div class="col-6">{{ player.fullName}}{% if player.substitute %} (sub){% endif %}</div>
<div class="col-4">{{ player.team}}</div>
</div>
{% endfor %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dream-league-web",
"version": "1.3.21",
"version": "1.3.22",
"description": "Dream League web frontend",
"main": "app/index.js",
"scripts": {
Expand Down

0 comments on commit ff9c029

Please sign in to comment.