// ------ Challenges -------
.panel.panel-default
  .panel-heading
    h3.panel-title=env.t('challenges')
      &nbsp;
      a.pull-right(target='_blank', href='https://trello.com/card/challenges-individual-party-guild-public/50e5d3684fe3a7266b0036d6/58')
        small
          ="More info"
  .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})') {{challenge.name}}
    div(ng-if='group.challenges.length == 0')
      p
        |&nbsp;
        =env.t('noChallenges')
        |&nbsp;
        a.label.label-primary(ui-sref='options.social.challenges')
          span.glyphicon.glyphicon-bullhorn
          |&nbsp;
          =env.t('challenges')
        |&nbsp;
        =env.t('toCreate')
