Files
habitica/website/views/options/social/challenge-box.jade
T
Sabe Jones ad347090c3 Merge remote-tracking branch 'origin/pr/5968' into develop
Conflicts:
	website/views/options/social/challenge-box.jade
2015-11-26 13:33:33 -05:00

26 lines
915 B
Plaintext

// ------ Challenges -------
.panel.panel-default
.panel-heading
h3.panel-title=env.t('challenges')
| 
a.pull-right(target='_blank', href='http://habitica.wikia.com/wiki/Challenges')
small=env.t('moreInfo')
.panel-body.modal-fixed-height(bindonce='group.challenges')
div(ng-if='group.challenges.length > 0')
table.table.table-striped
tr(ng-repeat='challenge in group.challenges')
td
a(ui-sref='options.social.challenges.detail({cid:challenge._id, groupIdFilter: group._id})')
markdown(text='challenge.name')
div(ng-if='group.challenges.length == 0')
p
| 
=env.t('noChallenges')
| 
a.label.label-primary(ui-sref='options.social.challenges')
span.glyphicon.glyphicon-bullhorn
| 
=env.t('challenges')
| 
=env.t('toCreate')