| 118 | } |
| 119 | |
| 120 | setupPrivateInfoPopover () { |
| 121 | const popoverTitle = '<h3>' + $.i18n.t('clans.private_clans') + '</h3>' |
| 122 | let popoverContent = '<ul>' |
| 123 | popoverContent += "<li><span style='font-weight:bold;'>" + $.i18n.t('clans.track_concepts1') + '</span> ' + $.i18n.t('clans.track_concepts2b') |
| 124 | popoverContent += '<li>' + $.i18n.t('clans.track_concepts3b') |
| 125 | popoverContent += '<li>' + $.i18n.t('clans.track_concepts4b') + " <span style='font-weight:bold;'>" + $.i18n.t('clans.track_concepts5') + '</span>' |
| 126 | popoverContent += '<li>' + $.i18n.t('clans.track_concepts6b') |
| 127 | popoverContent += "<li><span style='font-weight:bold;'>" + $.i18n.t('clans.track_concepts7') + '</span> ' + $.i18n.t('clans.track_concepts8') |
| 128 | popoverContent += '</ul>' |
| 129 | popoverContent += "<p><img src='/images/pages/clans/dashboard_preview.png' height='400'></p>" |
| 130 | popoverContent += '<p>' + $.i18n.t('clans.private_require_sub') + '</p>' |
| 131 | return this.$el.find('.private-more-info').popover({ |
| 132 | animation: true, |
| 133 | html: true, |
| 134 | placement: 'right', |
| 135 | trigger: 'hover', |
| 136 | title: popoverTitle, |
| 137 | content: popoverContent, |
| 138 | container: this.$el |
| 139 | }) |
| 140 | } |
| 141 | |
| 142 | onClickCreateClan (e) { |
| 143 | let name |