Skip to content

Commit

Permalink
fix(display): Do not print unblock infos if block still active #1012 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushaway authored Nov 16, 2024
1 parent d1a0357 commit 1b19308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/themes/default/page_comms.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
<td width="20%" height="16" class="listtable_1">Block length</td>
<td height="16" class="listtable_1">{$ban.banlength}</td>
</tr>
{if isset($ban.unbanned)}
{if isset($ban.unbanned) && ($ban.unbanned == true)}
<tr align="left">
<td width="20%" height="16" class="listtable_1">Unblock reason</td>
<td height="16" class="listtable_1">
Expand Down
4 changes: 2 additions & 2 deletions web/themes/default/theme.conf.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
define('theme_author', "IceMan, SourceBans++ Dev Team");

// Set the version of the theme here
define('theme_version', "1.5.5-dev");
define('theme_version', "1.8.0-dev");

// Set the link of the theme here
define('theme_link', "https://sbpp.sarabveer.me/");
define('theme_link', "https://github.com/sbpp/sourcebans-pp");

// Set the screenshot filename for your theme (must be inside your theme folder)
// Must be: 250px wide X 170px High
Expand Down

0 comments on commit 1b19308

Please sign in to comment.