diff options
Diffstat (limited to 'server/src/routes/ui')
| -rw-r--r-- | server/src/routes/ui/node.rs | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/server/src/routes/ui/node.rs b/server/src/routes/ui/node.rs index abdd299..5e69050 100644 --- a/server/src/routes/ui/node.rs +++ b/server/src/routes/ui/node.rs @@ -108,12 +108,14 @@ markup::define! {                              Rating::YoutubeLikes(n) => { @format_count(*n) " Likes" }                              Rating::YoutubeViews(n) => { @format_count(*n) " Views" }                              Rating::YoutubeFollowers(n) => { @format_count(*n) " Subscribers" } -                            _ => { "Unknown Rating" } +                            Rating::RottenTomatoes(n) => { @n " Tomatoes" } +                            Rating::Metacritic(n) => { "Metacritic Score: " @n } +                            Rating::Imdb(n) => { "IMDb Rating: " @n }                          } }                      }                  }                  h3 { @node.tagline } -                p { @node.description } +                p { @if matches!(node.kind, NodeKind::Video | NodeKind::Channel) { pre { @node.description } } else { @node.description } }              }              @match node.kind {                  NodeKind::Collection | NodeKind::Channel => { | 
