Skip to content

Commit

Permalink
Merge pull request #1175 from o19s/improve-judgment-modal-links-issue…
Browse files Browse the repository at this point in the history
…-1168

Improve links/buttons when creating a Book
  • Loading branch information
wrigleyDan authored Jan 14, 2025
2 parents 9aad230 + c3783a7 commit 56499c0
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions app/assets/javascripts/components/judgements/_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,16 @@ <h3 class="modal-title">Judgements</h3>

<div class="text-center" ng-show="ctrl.share.teams.length === 0 && !ctrl.share.loading">
<p>
Judgements are meant to be shared with a team, so either create a new team or
Judgements are meant to be shared with a team, so either
<a
ng-click="ctrl.goToTeamsPage()"
>create a new team</a>
or
<share-case
acase="ctrl.share.acase" ng-click="ctrl.cancel()"
></share-case> first.
</p>



<a class="btn btn-primary btn-lg" ng-click="ctrl.goToTeamsPage()">
<i class="bi bi-plus-lg"></i>
Create a team
</a>

</div>

<div class="text-center" ng-show="ctrl.share.teams.length > 0 && ctrl.share.books.length === 0 && !ctrl.share.loading">
Expand Down

0 comments on commit 56499c0

Please sign in to comment.