mirror of https://github.com/MISP/MISP
commit
c95ee30c9f
|
@ -158,7 +158,7 @@
|
|||
$updateLocked ? __('Updates are locked') : __('Updates are not locked'),
|
||||
$updateLocked ? (
|
||||
$updateFailNumberReached ?
|
||||
__('Update are locked due to to many update fails') : sprintf(__('Update unlocked in %s'), h($humanReadableTime)))
|
||||
__('Updates are locked due to to many update fails') : sprintf(__('Updates unlocked in %s'), h($humanReadableTime)))
|
||||
: __('Updates are not locked'),
|
||||
$updateLocked ? 'times' : 'check'
|
||||
);
|
||||
|
|
|
@ -29,9 +29,9 @@ if (isset($updateProgress['preTestSuccess']) && $updateProgress['preTestSuccess'
|
|||
<div style="display:flex;flex-direction: row;justify-content: space-between;">
|
||||
<span>
|
||||
<?php if ($updateFailNumberReached): ?>
|
||||
<h5 style="margin: 5px 0px; display: inline-block"><?php echo __('Update are locked due to to many update fails'); ?></h5>
|
||||
<h5 style="margin: 5px 0px; display: inline-block"><?php echo __('Updates are locked due to to many update fails'); ?></h5>
|
||||
<?php else: ?>
|
||||
<h5 style="margin: 5px 0px; display: inline-block"><?php echo __('Update are locked due to an ongoing update process. Release lock only if you know what you are doing'); ?></h5>
|
||||
<h5 style="margin: 5px 0px; display: inline-block"><?php echo __('Updates are locked due to an ongoing update process. Release lock only if you know what you are doing.'); ?></h5>
|
||||
<i>(<?php echo sprintf(__('automatically unlock in %smin %ssec'), '<span id="unlock_remaining_time_min">-</span>', '<span id="unlock_remaining_time_sec">-</span>'); ?>)</i>
|
||||
<?php endif; ?>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue