mirror of
https://github.com/axllent/mailpit.git
synced 2025-03-11 14:59:57 +02:00
UI: Minor UI & logging changes
This commit is contained in:
parent
ad1037c02b
commit
154b234205
@ -408,7 +408,7 @@ export default {
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
This will permanently delete all messages.
|
||||
This will permanently delete {{ formatNumber(total) }} message<span v-if="total > 1">s</span>.
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
|
||||
@ -418,5 +418,4 @@ export default {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</template>
|
||||
|
@ -224,7 +224,7 @@ func Store(mailbox string, b []byte) (string, error) {
|
||||
|
||||
count++
|
||||
if count%100 == 0 {
|
||||
logger.Log().Infof("%d messages added (%s per 100)", count, time.Since(per100start))
|
||||
logger.Log().Infof("100 messages added in %s", time.Since(per100start))
|
||||
|
||||
per100start = time.Now()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user