mirror of
https://github.com/axllent/mailpit.git
synced 2025-06-25 00:37:17 +02:00
UI: Minor UI & logging changes
This commit is contained in:
@ -408,7 +408,7 @@ export default {
|
|||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<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>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
|
||||||
@ -418,5 +418,4 @@ export default {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
@ -224,7 +224,7 @@ func Store(mailbox string, b []byte) (string, error) {
|
|||||||
|
|
||||||
count++
|
count++
|
||||||
if count%100 == 0 {
|
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()
|
per100start = time.Now()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user