New anime images
This commit is contained in:
@ -6,20 +6,20 @@ component SearchResults(term string, users []*arn.User, animes []*arn.Anime, pos
|
||||
h3.widget-title
|
||||
Icon("tv")
|
||||
span Anime
|
||||
|
||||
|
||||
.profile-watching-list.anime-search
|
||||
if len(animes) == 0
|
||||
p.no-search-results.mountable No anime found.
|
||||
else
|
||||
each anime in animes
|
||||
a.profile-watching-list-item.mountable.ajax(href=anime.Link(), title=anime.Title.Canonical, data-mountable-type="anime")
|
||||
img.anime-cover-image.anime-search-result(src=anime.Image.Tiny, alt=anime.Title.Canonical)
|
||||
img.anime-cover-image.anime-search-result(src=anime.Image("small"), alt=anime.Title.Canonical)
|
||||
|
||||
.widget
|
||||
h3.widget-title
|
||||
Icon("comment")
|
||||
span Forum
|
||||
|
||||
|
||||
if len(posts) == 0 && len(threads) == 0
|
||||
p.no-search-results.mountable No posts found.
|
||||
else
|
||||
@ -30,7 +30,7 @@ component SearchResults(term string, users []*arn.User, animes []*arn.Anime, pos
|
||||
if thread.Author().HasNick()
|
||||
.forum-search-result-author= thread.Author().Nick
|
||||
.forum-search-result-sample= thread.Text
|
||||
|
||||
|
||||
each post in posts
|
||||
.mountable(data-mountable-type="forum")
|
||||
.forum-search-result
|
||||
@ -38,12 +38,12 @@ component SearchResults(term string, users []*arn.User, animes []*arn.Anime, pos
|
||||
if post.Author().HasNick()
|
||||
.forum-search-result-author= post.Author().Nick
|
||||
.forum-search-result-sample= post.Text
|
||||
|
||||
|
||||
.widget
|
||||
h3.widget-title
|
||||
Icon("music")
|
||||
span Soundtracks
|
||||
|
||||
|
||||
if len(tracks) == 0
|
||||
p.no-search-results.mountable No soundtracks found.
|
||||
else
|
||||
@ -56,7 +56,7 @@ component SearchResults(term string, users []*arn.User, animes []*arn.Anime, pos
|
||||
h3.widget-title
|
||||
Icon("user")
|
||||
span Users
|
||||
|
||||
|
||||
.user-avatars.user-search
|
||||
if len(users) == 0
|
||||
p.no-search-results.mountable No users found.
|
||||
|
Reference in New Issue
Block a user