Server: Use latest toolkit
This commit is contained in:
parent
cea0d6feca
commit
1288665b34
|
@ -47,12 +47,9 @@ impl<'a> SubmissionView<'a> {
|
|||
|
||||
let image = ThumbnailImage::new(key, &self.submission.title_text());
|
||||
|
||||
let thumb = Thumbnail::new(
|
||||
image,
|
||||
&self.submission.title_text(),
|
||||
&format!("by {}", self.author.name()),
|
||||
)
|
||||
.link(&self.submission.view_path());
|
||||
let thumb = Thumbnail::new(image, &self.submission.view_path())
|
||||
.title(&self.submission.title_text())
|
||||
.author(&self.author.name(), &self.author.view_path());
|
||||
|
||||
if self.files.len() > 1 {
|
||||
Some(thumb.indicator(&format!("+{}", self.files.len() - 1), IndicatorColor::White))
|
||||
|
|
Loading…
Reference in a new issue