diff --git a/internal/templates/anime.templ b/internal/templates/anime.templ
index 19f9cd5..4f72887 100644
--- a/internal/templates/anime.templ
+++ b/internal/templates/anime.templ
@@ -13,7 +13,7 @@ templ AnimeDetails(anime jikan.Anime, currentStatus string) {
if anime.ImageURL() != "" {
} else {
-
no image
+ No image
}
@@ -41,32 +41,32 @@ templ AnimeDetails(anime jikan.Anime, currentStatus string) {
- synopsis
+ Synopsis
if anime.Synopsis != "" {
{ anime.Synopsis }
} else {
- no synopsis available.
+ No synopsis available.
}
- related
+ Related
-
loading relations
+
Loading relations
- recommendations
+ Recommendations
-
loading recommendations
+
Loading recommendations
@@ -225,7 +225,7 @@ templ WatchlistDropdown(animeID int, animeTitle string, animeTitleEnglish string
hx-delete={ string(templ.URL(fmt.Sprintf("/api/watchlist/%d", animeID))) }
hx-target="#watchlist-dropdown"
hx-swap="outerHTML"
- >remove from list
+ >Remove from list
}
@@ -264,15 +264,15 @@ templ statusOption(anime jikan.Anime, status string, currentStatus string) {
func formatStatus(status string) string {
switch status {
case "watching":
- return "watching"
+ return "Watching"
case "completed":
- return "completed"
+ return "Completed"
case "on_hold":
- return "on hold"
+ return "On hold"
case "dropped":
- return "dropped"
+ return "Dropped"
case "plan_to_watch":
- return "plan to watch"
+ return "Plan to watch"
default:
return status
}
@@ -287,7 +287,7 @@ templ AnimeRelationsList(relations []jikan.RelationEntry) {
if rel.Anime.ImageURL() != "" {
} else {
- no image
+ No image
}
{ rel.Anime.DisplayTitle() }
@@ -296,7 +296,7 @@ templ AnimeRelationsList(relations []jikan.RelationEntry) {
if rel.Anime.ImageURL() != "" {
} else {
- no image
+ No image
}
{ rel.Anime.DisplayTitle() }
@@ -316,7 +316,7 @@ templ AnimeRecommendations(recs []jikan.Anime) {
if anime.ImageURL() != "" {
} else {
- no image
+ No image
}
{ anime.DisplayTitle() }
diff --git a/internal/templates/anime_templ.go b/internal/templates/anime_templ.go
index c22ce77..c040d19 100644
--- a/internal/templates/anime_templ.go
+++ b/internal/templates/anime_templ.go
@@ -81,7 +81,7 @@ func AnimeDetails(anime jikan.Anime, currentStatus string) templ.Component {
return templ_7745c5c3_Err
}
} else {
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "no image
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "No image
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -210,7 +210,7 @@ func AnimeDetails(anime jikan.Anime, currentStatus string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "synopsis
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "Synopsis
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -233,12 +233,12 @@ func AnimeDetails(anime jikan.Anime, currentStatus string) templ.Component {
return templ_7745c5c3_Err
}
} else {
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "no synopsis available.
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "No synopsis available.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "