commit
84eff37bdc
@ -26,7 +26,7 @@
|
|||||||
<script type="text/ng-template" id="nodes_renderer.html">
|
<script type="text/ng-template" id="nodes_renderer.html">
|
||||||
<div ui-tree-handle>
|
<div ui-tree-handle>
|
||||||
<span ng-if="item.item.is_hidden">*</span>
|
<span ng-if="item.item.is_hidden">*</span>
|
||||||
{{ item.item.getTitle() }}
|
{{ item.item.getListViewTitle() }}
|
||||||
</div>
|
</div>
|
||||||
<ol ui-tree-nodes="" ng-model="item.children">
|
<ol ui-tree-nodes="" ng-model="item.children">
|
||||||
<li ng-repeat="item in item.children" ui-tree-node ng-include="'nodes_renderer.html'">
|
<li ng-repeat="item in item.children" ui-tree-node ng-include="'nodes_renderer.html'">
|
||||||
|
@ -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">
|
||||||
|
@ -68,7 +68,7 @@ angular.module('OpenSlidesApp.motions', ['OpenSlidesApp.users'])
|
|||||||
methods: {
|
methods: {
|
||||||
// returns object with value and percent
|
// returns object with value and percent
|
||||||
getVote: function (vote) {
|
getVote: function (vote) {
|
||||||
if (!this.has_votes || !vote) {
|
if (!this.has_votes) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var value = '';
|
var value = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user