Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Plural fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm committed Apr 18, 2018
1 parent a1cffa0 commit 799bea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</span>
<span class="pull-right hidden-sm hidden-xs">
<a href="/event/${event['key']}#teams" py:if="'teams' in event and event['teams']">
<span class="badge">${len(event['teams']) if 'teams' in event else 0} teams</span>
<span class="badge">${len(event['teams']) if 'teams' in event else 0} team<py:if test="len(event['teams']) > 1">s</py:if></span>
</a>
</span>
</td>
Expand Down Expand Up @@ -79,7 +79,7 @@ <h2>
<span class="badge ${event['district']['abbreviation'].lower()}" title="${event['district']['year']} ${event['district']['display_name']} District" py:if="event['district']">${event['district']['abbreviation'].upper()}</span>
<a href="/event/${event['key']}">${event['year']} ${event['name']}</a>
<small>
<span class="badge" py:if="'teams' in event">${len(event['teams'])} teams</span>
<span class="badge" py:if="'teams' in event">${len(event['teams'])} team<py:if test="len(event['teams']) > 1">s</py:if></span>
</small>
</h2>
<h5>
Expand Down

0 comments on commit 799bea8

Please sign in to comment.