Hide candidate list if assignment phase is finished (2).

This commit is contained in:
Emanuel Schuetze 2016-04-12 22:41:15 +02:00
parent f5125d0d23
commit 7e5ea61b34

View File

@ -75,6 +75,7 @@
<h3 translate>Description</h3>
<div class="white-space-pre-line">{{ assignment.description }}</div>
<div ng-if="assignment.phase != 2">
<h3 translate>Candidates</h3>
<ol>
<li ng-repeat="related_user in assignment.assignment_related_users">
@ -109,6 +110,7 @@
<translate>Remove me</translate>
</button>
</div>
</div>
<h3 translate>Election result</h3>
<button os-perms="assignments.can_manage" ng-click="createBallot()" class="btn btn-default btn-sm">