Skip to content

Commit

Permalink
remove button to create a team, add a link instead.
Browse files Browse the repository at this point in the history
Signed-off-by: wrigleyDan <[email protected]>
  • Loading branch information
wrigleyDan committed Jan 13, 2025
1 parent 8c72f7b commit c3783a7
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 c3783a7

Please sign in to comment.