Skip to content

Commit

Permalink
Update pokemon.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kamieniarz authored Oct 26, 2023
1 parent 8b68b76 commit 42e4a31
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions pages/display/pokemon.php
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,8 @@ class="list-group-item d-flex justify-content-between align-items-center">
?>
</span>
</li>
<?php } else
if ($row['max_size'] > $row['size'] && $row['size'] != -1) {
<?php } else
if ($row['max_size'] > $row['size'] && $row['size'] != -1) {
?>
<li
class="list-group-item d-flex justify-content-between align-items-center">
Expand All @@ -515,8 +515,17 @@ class="list-group-item d-flex justify-content-between align-items-center">
?>
</span>
</li>
<?php
}
<?php } else
if ($row['max_size'] < $row['size']) {
?>
<li
class="list-group-item d-flex justify-content-between align-items-center">
<?php echo i8ln("SIZE"); ?>
<span class="badge badge-primary badge-pill">
<?php echo i8ln("ERROR"); ?>
</span>
</li>
<?php }

if ($row['ping'] <> '') {
?>
Expand Down

0 comments on commit 42e4a31

Please sign in to comment.