diff --git a/public/templates/bootstrap/admin/invitations/default.tpl b/public/templates/bootstrap/admin/invitations/default.tpl index 8de6b29e..62a7c18f 100644 --- a/public/templates/bootstrap/admin/invitations/default.tpl +++ b/public/templates/bootstrap/admin/invitations/default.tpl @@ -5,7 +5,7 @@
| Cronjob | -Disabled | -Exit Code | -Active | -Runtime | -Start Time | -End Time | -Message | - - -{foreach $CRONSTATUS as $cron => $data} -
|---|---|
| {$cron} | - {foreach $data as $name => $event} -- {if $event.type == 'okerror'} - {if $event.value == 0} - OK - {else} - ERROR - {/if} - {else if $event.type == 'message'} - {$event.value} - {else if $event.type == 'yesno'} - - {else if $event.type == 'time'} - {if $event.value > 60} - - {else if $event.value > 120} - - {else} - - {/if} - {$event.value|default:"0"|number_format:"2"} seconds - - {else if $event.type == 'date'} - {if ($smarty.now - 180) > $event.value} - - {else if ($smarty.now - 120) > $event.value} - - {else} - - {/if} - {$event.value|date_format:"%m/%d %H:%M:%S"} - - {else} - {$event.value|default:""} - {/if} - | - {/foreach} -Cronjob | +Disabled | +Exit Code | +Active | +Runtime | +Start Time | +End Time | +Message | + + + {foreach $CRONSTATUS as $cron => $data} +
| {$cron} | + {foreach $data as $name => $event} ++ {if $event.type == 'okerror'} + {if $event.value == 0} + OK + {else} + ERROR + {/if} + {else if $event.type == 'message'} + {$event.value} + {else if $event.type == 'yesno'} + + {else if $event.type == 'time'} + {if $event.value > 60} + + {else if $event.value > 120} + + {else} + + {/if} + {$event.value|default:"0"|number_format:"2"} seconds + + {else if $event.type == 'date'} + {if ($smarty.now - 180) > $event.value} + + {else if ($smarty.now - 120) > $event.value} + + {else} + + {/if} + {$event.value|date_format:"%m/%d %H:%M:%S"} + + {else} + {$event.value|default:""} + {/if} + | + {/foreach} +
| - - - | -||||||||
| ID | -{$BLOCKDETAILS.id|number_format:"0"|default:"0"} | -Height | - {if ! $GLOBAL.website.blockexplorer.disabled} -{$BLOCKDETAILS.height|number_format:"0"|default:"0"} | - {else} -{$BLOCKDETAILS.height|number_format:"0"|default:"0"} | - {/if} -Amount | -{$BLOCKDETAILS.amount|number_format|default:"0"} | -Confirmations | -{if $BLOCKDETAILS.confirmations >= $GLOBAL.confirmations} - Confirmed - {else if $BLOCKDETAILS.confirmations == -1} - Orphan - {else if $BLOCKDETAILS.confirmations == 0}0 - {else}{($GLOBAL.confirmations - $BLOCKDETAILS.confirmations)|default:"0"} left{/if} | -
| Difficulty | -{$BLOCKDETAILS.difficulty|default:"0"} | -Time | -{$BLOCKDETAILS.time|default:"0"} | -Shares | -{$BLOCKDETAILS.shares|number_format:"0"|default:"0"} | -Finder | -{$BLOCKDETAILS.finder|default:"unknown"} | -|
| + + + | +||||||||
| ID | +{$BLOCKDETAILS.id|number_format:"0"|default:"0"} | +Height | + {if ! $GLOBAL.website.blockexplorer.disabled} +{$BLOCKDETAILS.height|number_format:"0"|default:"0"} | + {else} +{$BLOCKDETAILS.height|number_format:"0"|default:"0"} | + {/if} +Amount | +{$BLOCKDETAILS.amount|number_format|default:"0"} | +Confirmations | +{if $BLOCKDETAILS.confirmations >= $GLOBAL.confirmations} + Confirmed + {else if $BLOCKDETAILS.confirmations == -1} + Orphan + {else if $BLOCKDETAILS.confirmations == 0}0 + {else}{($GLOBAL.confirmations - $BLOCKDETAILS.confirmations)|default:"0"} left{/if} | +
| Difficulty | +{$BLOCKDETAILS.difficulty|default:"0"} | +Time | +{$BLOCKDETAILS.time|default:"0"} | +Shares | +{$BLOCKDETAILS.shares|number_format:"0"|default:"0"} | +Finder | +{$BLOCKDETAILS.finder|default:"unknown"} | +|