Fix sub requests #1339

Can we clean this up.  These 3 lines are the equivalent of `if request.approved then 'success' else 'danger'`