Skip to content

Commit

Permalink
Add message to indicate that process is finished
Browse files Browse the repository at this point in the history
  • Loading branch information
gdarko committed Sep 19, 2023
1 parent f7725a0 commit 2f105eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion views/batch-manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
<div class="batch-process-progress-bar-inner" style="<?php echo $style; ?>"></div>
</div>
<div class="batch-process-current-item">

<?php if($batch->is_finished()): ?>
<span class="batch-message-text--green"><?php _e('Process finished!'); ?></span>
<?php endif; ?>
</div>
</div>

Expand Down Expand Up @@ -73,6 +75,10 @@
min-width: 20%;
}

.batch-message-text--green {
color: green;
}

.batch-process-progress-bar-inner {
position: absolute;
background: #0073aa;
Expand Down

0 comments on commit 2f105eb

Please sign in to comment.