Hide candidate list if assignment phase is finished (2).
This commit is contained in:
parent
f5125d0d23
commit
7e5ea61b34
@ -75,6 +75,7 @@
|
|||||||
<h3 translate>Description</h3>
|
<h3 translate>Description</h3>
|
||||||
<div class="white-space-pre-line">{{ assignment.description }}</div>
|
<div class="white-space-pre-line">{{ assignment.description }}</div>
|
||||||
|
|
||||||
|
<div ng-if="assignment.phase != 2">
|
||||||
<h3 translate>Candidates</h3>
|
<h3 translate>Candidates</h3>
|
||||||
<ol>
|
<ol>
|
||||||
<li ng-repeat="related_user in assignment.assignment_related_users">
|
<li ng-repeat="related_user in assignment.assignment_related_users">
|
||||||
@ -109,6 +110,7 @@
|
|||||||
<translate>Remove me</translate>
|
<translate>Remove me</translate>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3 translate>Election result</h3>
|
<h3 translate>Election result</h3>
|
||||||
<button os-perms="assignments.can_manage" ng-click="createBallot()" class="btn btn-default btn-sm">
|
<button os-perms="assignments.can_manage" ng-click="createBallot()" class="btn btn-default btn-sm">
|
||||||
|
Loading…
Reference in New Issue
Block a user