Skip to content

Commit 3089d07

Browse files
committed
Merge pull request #2042 from iAmShorty/notification-switch
[FIX] worker notification switch in user notifications
2 parents a9d7726 + 5bb3727 commit 3089d07

File tree

1 file changed

+4
-2
lines changed
  • public/templates/bootstrap/account/notifications

1 file changed

+4
-2
lines changed

public/templates/bootstrap/account/notifications/default.tpl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
</div>
1111
<div class="panel-body no-padding">
1212
<table class="table table-striped table-bordered table-hover">
13+
{if $DISABLE_IDLEWORKERNOTIFICATIONS|default:"" != 1}
1314
<tr>
1415
<td>
1516
<label>IDLE Worker</label>
@@ -19,7 +20,8 @@
1920
<input type="checkbox" class="switch" data-size="small" name="data[idle_worker]" id="idle_worker" value="1"{nocache}{if $SETTINGS['idle_worker']|default:"0" == 1}checked{/if}{/nocache} />
2021
</td>
2122
</tr>
22-
{if $DISABLE_BLOCKNOTIFICATIONS|default:"" != 1}
23+
{/if}
24+
{if $DISABLE_BLOCKNOTIFICATIONS|default:"" != 1}
2325
<tr>
2426
<td>
2527
<label>New Blocks</label>
@@ -29,7 +31,7 @@
2931
<input type="checkbox"class="switch" data-size="small" name="data[new_block]" id="new_block" value="1"{nocache}{if $SETTINGS['new_block']|default:"0" == 1}checked{/if}{/nocache} />
3032
</td>
3133
</tr>
32-
{/if}
34+
{/if}
3335
<tr>
3436
<td>
3537
<label>Payout</label>

0 commit comments

Comments
 (0)