Skip to content

Commit

Permalink
show 'unlimited' if private repo count is over max number
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcusk19 committed Jun 10, 2024
1 parent d112435 commit 33ddb62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion static/directives/billing-management-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
</div>

<a class="co-modify-link" ng-href="{{ getEntityPrefix() }}/billing">{{ currentPlan.privateRepos }} private repositories</a>
<div class="help-text">Up to {{ currentPlan.privateRepos + currentMarketplace}} private repositories, unlimited public repositories</div>
<div class="help-text">
{{ (currentPlan.privateRepos + currentMarketplace) >= 9223372036854776000 ? 'unlimited' : 'Up to ' + (currentPlan.privateRepos + currentMarketplace) }}
private repositories, unlimited public repositories
</div>
</td>
</tr>
<tr ng-show="currentCard">
Expand Down

0 comments on commit 33ddb62

Please sign in to comment.