Files
habitica/website/views/options/social/challenge-box.jade
T
AccioBooks c2eb113672 Make Wikia Links Translatable (#7036)
* Wikia Links

* Update contrib.json (Added comma)

* Implement @Alys's Suggestions

* conLearnLink -> conLearnURL

* add link to plans.jade

* Appended "URL" to locale strings with URLs

* Add 's'
2016-09-29 21:57:44 +10:00

26 lines
923 B
Plaintext

// ------ Challenges -------
.panel.panel-default
.panel-heading
h3.panel-title=env.t('challenges')
| 
a.pull-right(target='_blank', href=env.t('moreInfoChallengesURL'))
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')