1a87619bac
* Fix display of add challenge message when group challenges are empty * Fixed forced quest start to update quest without reload * Fixed needing to reload when accepting party invite * Fix group leave and join reload * Fixed leave current party and join another * Updated party tests
26 lines
936 B
Plaintext
26 lines
936 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 || 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')
|