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 {
|
||||
thread
|
||||
total
|
||||
timestamp
|
||||
subject
|
||||
authors
|
||||
|
||||
@ -158,9 +158,6 @@ blockquote[type="cite"],
|
||||
margin-left: .5em;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.content-tree {
|
||||
white-space: pre-line;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
@ -121,7 +121,9 @@ fn view_search_results(
|
||||
td![
|
||||
C!["from"],
|
||||
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![
|
||||
C!["subject"],
|
||||
@ -290,10 +292,7 @@ fn thread(thread: &ShowThreadQueryThread) -> Node<Msg> {
|
||||
contents,
|
||||
content_tree,
|
||||
},
|
||||
) => div![
|
||||
raw_text_message(&contents),
|
||||
pre![C!["content-tree"], content_tree]
|
||||
],
|
||||
) => div![raw_text_message(&contents), pre![content_tree]],
|
||||
ShowThreadQueryThreadMessagesBody::Html(
|
||||
ShowThreadQueryThreadMessagesBodyOnHtml {
|
||||
contents,
|
||||
@ -311,7 +310,7 @@ fn thread(thread: &ShowThreadQueryThread) -> Node<Msg> {
|
||||
.iter()
|
||||
.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