Merge pull request #2726 from normanjaeckel/FollowRecommendationButton
Added button to motion detail view to follow recommendation. Closed #…
This commit is contained in:
commit
4c37fd8e62
@ -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