Skip to content

Commit

Permalink
Show name of branch you are on in admin update
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongecho committed Aug 29, 2024
1 parent d700289 commit b7d1503
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@
<small class="text-secondary">Current DB Version: <?php echo CURRENT_DATABASE_VERSION; ?></small>
<br>
<small class="text-secondary">Latest DB Version: <?php echo LATEST_DATABASE_VERSION; ?></small>
<br>
<small class="text-secondary">Branch: <?php echo $repo_branch; ?></small>
<?php } else { ?>
<p class="text-secondary">Current Database Version:<br><strong class="text-dark"><?php echo CURRENT_DATABASE_VERSION; ?></strong></p>
<p class="text-secondary">Current App Version:<br><strong class="text-dark"><?php echo $current_version; ?></strong></p>
<p class="text-secondary">Branch:<br><strong class="text-dark"><?php echo $repo_branch; ?></strong></p>
<p class="text-muted">You are up to date!<br>Everything is going to be alright</p>
<i class="far fa-3x text-dark fa-smile-wink"></i><br>
<?php }
Expand Down

0 comments on commit b7d1503

Please sign in to comment.