admin: show only active team in export

This commit is contained in:
nemunaire 2019-02-01 20:51:36 +01:00
parent 73db9da682
commit 473332e101

View File

@ -1,4 +1,4 @@
<div ng-repeat="team in teams" ng-click="show(team.id)" ng-controller="TeamController"> <div ng-repeat="team in teams" ng-click="show(team.id)" ng-controller="TeamController" ng-if="team.active">
<div ng-controller="TeamExercicesController"> <div ng-controller="TeamExercicesController">
<div ng-if="teams[my.team_id].rank"> <div ng-if="teams[my.team_id].rank">
<h2>{{ team.name }} <small>{{ teams[my.team_id].rank }}/{{ nb_teams }} &ndash; <ng-pluralize count="my.score" when="{'one': '{}&nbsp;point', 'other': '{}&nbsp;points'}"></ng-pluralize></small></h2> <h2>{{ team.name }} <small>{{ teams[my.team_id].rank }}/{{ nb_teams }} &ndash; <ng-pluralize count="my.score" when="{'one': '{}&nbsp;point', 'other': '{}&nbsp;points'}"></ng-pluralize></small></h2>