Added filter by owner for challenges

This commit is contained in:
TheHollidayInn
2015-04-11 15:58:29 -05:00
parent 7c36e49243
commit 74ef8cd443
3 changed files with 26 additions and 1 deletions
@@ -91,6 +91,19 @@ script(type='text/ng-template', id='partials/options.social.challenges.html')
label
input(type='radio', name='search-participation-radio', ng-click='search._isMember = undefined', checked='checked')
=env.t('either')
h4=env.t('challengedOwnedFilterHeader')
.radio
label
input(type='radio', name='search-participation-radio', ng-click='search._isOwner = true')
=env.t('challengedOwnedFilter')
.radio
label
input(type='radio', name='search-participation-radio', ng-click='search._isOwner = false')
=env.t('challengedNotOwnedFilter')
.radio
label
input(type='radio', name='search-participation-radio', ng-click='search._isOwner = undefined')
=env.t('challengedEitherOwnedFilter')
.col-md-10
a.btn.btn-info#back-to-challenges(ng-show="cid", ui-sref='options.social.challenges', ui-sref-opts='{reload: true}')
| Back to all challenges