mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-10 23:18:55 +01:00
Display the update meta result content on the update page
This commit is contained in:
parent
6c7db3d956
commit
a576c7ae4b
@ -1,5 +1,6 @@
|
|||||||
use std::borrow::Cow;
|
use std::borrow::Cow;
|
||||||
use std::collections::{HashMap, HashSet};
|
use std::collections::{HashMap, HashSet};
|
||||||
|
use std::fmt::Display;
|
||||||
use std::fs::{File, create_dir_all};
|
use std::fs::{File, create_dir_all};
|
||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
use std::num::NonZeroUsize;
|
use std::num::NonZeroUsize;
|
||||||
@ -177,7 +178,7 @@ struct IndexTemplate {
|
|||||||
|
|
||||||
#[derive(Template)]
|
#[derive(Template)]
|
||||||
#[template(path = "updates.html")]
|
#[template(path = "updates.html")]
|
||||||
struct UpdatesTemplate<M: Serialize + Send, P: Serialize + Send, N: Serialize + Send> {
|
struct UpdatesTemplate<M: Serialize + Send, P: Serialize + Send, N: Serialize + Send + Display> {
|
||||||
db_name: String,
|
db_name: String,
|
||||||
db_size: usize,
|
db_size: usize,
|
||||||
docs_count: usize,
|
docs_count: usize,
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
<ol>
|
<ol>
|
||||||
<li class="field">
|
<li class="field">
|
||||||
<div class="attribute">update id</div><div class="updateId content">{{ update_id }}</div>
|
<div class="attribute">update id</div><div class="updateId content">{{ update_id }}</div>
|
||||||
<div class="attribute">update status</div><div class="updateStatus content">processed</div>
|
<div class="attribute">update status</div><div class="updateStatus content">{{ meta }}</div>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user