Completed
Push — analysis-zO61AR ( 7d6e07 )
by Greg
07:48
created
app/Http/Controllers/ListController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
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 ?>
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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')) {
Please login to merge, or discard this patch.