Minor changes
This commit is contained in:
parent
4801a254f7
commit
9448bc25d5
@ -81,8 +81,8 @@ component Anime(anime *arn.Anime, friends []*arn.User, listItems map[*arn.User]*
|
|||||||
h3.anime-section-name Relations
|
h3.anime-section-name Relations
|
||||||
.anime-relations
|
.anime-relations
|
||||||
each relation in anime.Relations().Items
|
each relation in anime.Relations().Items
|
||||||
a.anime-relation.ajax(href=relation.Anime().Link(), title=relation.Anime().Title.Canonical)
|
a.anime-relation.ajax(href=relation.Anime().Link(), title=relation.Anime().Title.ByUser(user))
|
||||||
img.anime-relation-image.lazy(data-src=relation.Anime().Image.Tiny, alt=relation.Anime().Title.Canonical)
|
img.anime-relation-image.lazy(data-src=relation.Anime().Image.Tiny, alt=relation.Anime().Title.ByUser(user))
|
||||||
.anime-relation-type= relation.HumanReadableType()
|
.anime-relation-type= relation.HumanReadableType()
|
||||||
.anime-relation-year
|
.anime-relation-year
|
||||||
if relation.Anime().StartDate != ""
|
if relation.Anime().StartDate != ""
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
component Settings(user *arn.User)
|
component Settings(user *arn.User)
|
||||||
h1.page-title Settings
|
h1.page-title Settings
|
||||||
|
|
||||||
.widgets
|
.widgets
|
||||||
.widget.mountable(data-api="/api/user/" + user.ID)
|
.widget.mountable(data-api="/api/user/" + user.ID)
|
||||||
h3.widget-title
|
h3.widget-title
|
||||||
@ -168,8 +169,8 @@ component Settings(user *arn.User)
|
|||||||
select.widget-ui-element.action(id="TitleLanguage", data-field="TitleLanguage", value=user.Settings().TitleLanguage, title="Language of anime titles", data-action="save", data-trigger="change")
|
select.widget-ui-element.action(id="TitleLanguage", data-field="TitleLanguage", value=user.Settings().TitleLanguage, title="Language of anime titles", data-action="save", data-trigger="change")
|
||||||
option(value="canonical") Canonical
|
option(value="canonical") Canonical
|
||||||
option(value="english") English
|
option(value="english") English
|
||||||
option(value="japanese") Japanese
|
|
||||||
option(value="romaji") Romaji
|
option(value="romaji") Romaji
|
||||||
|
option(value="japanese") 日本語
|
||||||
|
|
||||||
InputNumber("Format.RatingsPrecision", float64(user.Settings().Format.RatingsPrecision), "Ratings precision", "How many decimals after the comma would you like to display in ratings on anime pages?", "0", "2", "1")
|
InputNumber("Format.RatingsPrecision", float64(user.Settings().Format.RatingsPrecision), "Ratings precision", "How many decimals after the comma would you like to display in ratings on anime pages?", "0", "2", "1")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user