@@ -215,7 +215,7 @@ |
||
215 | 215 | <li class="wt-initials-list-item"> |
216 | 216 | <?php if ($count > 0): ?> |
217 | 217 | <a href="<?= e(route($route, ['alpha' => $letter, 'ged' => $tree->getName()])) ?>" class="wt-initial<?= $letter === $alpha ? ' active' : ''?> '" title="<?= I18N::number($count) ?>"><?= $this->surnameInitial((string) $letter) ?></a> |
218 | - <?php else: ?> |
|
218 | + <?php else : ?> |
|
219 | 219 | <span class="wt-initial text-muted"><?= $this->surnameInitial((string) $letter) ?></span> |
220 | 220 | |
221 | 221 | <?php endif ?> |
@@ -215,7 +215,8 @@ discard block |
||
215 | 215 | <li class="wt-initials-list-item"> |
216 | 216 | <?php if ($count > 0): ?> |
217 | 217 | <a href="<?= e(route($route, ['alpha' => $letter, 'ged' => $tree->getName()])) ?>" class="wt-initial<?= $letter === $alpha ? ' active' : ''?> '" title="<?= I18N::number($count) ?>"><?= $this->surnameInitial((string) $letter) ?></a> |
218 | - <?php else: ?> |
|
218 | + <?php else { |
|
219 | + : ?> |
|
219 | 220 | <span class="wt-initial text-muted"><?= $this->surnameInitial((string) $letter) ?></span> |
220 | 221 | |
221 | 222 | <?php endif ?> |
@@ -269,6 +270,7 @@ discard block |
||
269 | 270 | |
270 | 271 | if ($show === 'indi' || $show === 'surn') { |
271 | 272 | $surns = $this->surnames($tree, $surname, $alpha, $show_marnm === 'yes', $families); |
273 | +} |
|
272 | 274 | if ($show === 'surn') { |
273 | 275 | // Show the surname list |
274 | 276 | switch ($tree->getPreference('SURNAME_LIST_STYLE')) { |