Added button to motion detail view to follow recommendation. Closed #2700.
This commit is contained in:
parent
dc0559ef38
commit
49dca65640
@ -170,6 +170,15 @@
|
|||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<button
|
||||||
|
ng-if="motion.recommendation &&
|
||||||
|
motion.isAllowed('change_state') &&
|
||||||
|
motion.state.next_states_id.indexOf(motion.recommendation.id) !== -1"
|
||||||
|
ng-click="updateState(motion.recommendation.id)"
|
||||||
|
class="btn btn-default btn-sm">
|
||||||
|
<i class="fa fa-magic"></i>
|
||||||
|
<translate>Follow recommendation</translate>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Category -->
|
<!-- Category -->
|
||||||
|
Loading…
Reference in New Issue
Block a user