Compare commits
No commits in common. "fae4e4368268409adbd580bd8b801184bf56a883" and "e0890f1181a3c171b41836487ff9ff5d57012b30" have entirely different histories.
fae4e43682
...
e0890f1181
@ -9,7 +9,6 @@ query FrontPageQuery($query: String!, $after: String $before: String, $first: In
|
|||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
thread
|
thread
|
||||||
total
|
|
||||||
timestamp
|
timestamp
|
||||||
subject
|
subject
|
||||||
authors
|
authors
|
||||||
|
|||||||
@ -158,9 +158,6 @@ blockquote[type="cite"],
|
|||||||
margin-left: .5em;
|
margin-left: .5em;
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
.content-tree {
|
|
||||||
white-space: pre-line;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@ -121,7 +121,9 @@ fn view_search_results(
|
|||||||
td![
|
td![
|
||||||
C!["from"],
|
C!["from"],
|
||||||
pretty_authors(&r.authors),
|
pretty_authors(&r.authors),
|
||||||
IF!(r.total>1 => small![" ", r.total.to_string()]),
|
// TODO(wathiede): visualize message count if more than one message is in the
|
||||||
|
// thread
|
||||||
|
//IF!(r.total>1 => small![" ", r.total.to_string()]),
|
||||||
],
|
],
|
||||||
td![
|
td![
|
||||||
C!["subject"],
|
C!["subject"],
|
||||||
@ -290,10 +292,7 @@ fn thread(thread: &ShowThreadQueryThread) -> Node<Msg> {
|
|||||||
contents,
|
contents,
|
||||||
content_tree,
|
content_tree,
|
||||||
},
|
},
|
||||||
) => div![
|
) => div![raw_text_message(&contents), pre![content_tree]],
|
||||||
raw_text_message(&contents),
|
|
||||||
pre![C!["content-tree"], content_tree]
|
|
||||||
],
|
|
||||||
ShowThreadQueryThreadMessagesBody::Html(
|
ShowThreadQueryThreadMessagesBody::Html(
|
||||||
ShowThreadQueryThreadMessagesBodyOnHtml {
|
ShowThreadQueryThreadMessagesBodyOnHtml {
|
||||||
contents,
|
contents,
|
||||||
@ -311,7 +310,7 @@ fn thread(thread: &ShowThreadQueryThread) -> Node<Msg> {
|
|||||||
.iter()
|
.iter()
|
||||||
.map(|a| div!["Filename: ", &a.filename, " ", &a.content_type])
|
.map(|a| div!["Filename: ", &a.filename, " ", &a.content_type])
|
||||||
]),
|
]),
|
||||||
pre![C!["content-tree"], content_tree]
|
pre![content_tree]
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user