diff --git a/.env.example b/.env.example index 5ba6d05..81d034a 100644 --- a/.env.example +++ b/.env.example @@ -16,8 +16,8 @@ REDLIB_PUSHSHIFT_FRONTEND=undelete.pullpush.io REDLIB_DEFAULT_THEME=system # Set the default mascot REDLIB_DEFAULT_MASCOT=none -# Enable showing redsublib colorway by default -REDLIB_DEFAULT_REDSUBLIB_COLORWAY=off +# Enable showing redsunlib colorway by default +REDLIB_DEFAULT_REDSUNLIB_COLORWAY=off # Set the default front page (options: default, popular, all) REDLIB_DEFAULT_FRONT_PAGE=default # Set the default layout (options: card, clean, compact) diff --git a/src/settings.rs b/src/settings.rs index 84db59f..6b65b40 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -24,7 +24,7 @@ struct SettingsTemplate { const PREFS: [&str; 21] = [ "theme", "mascot", - "redsublib_colorway", + "redsunlib_colorway", "front_page", "layout", "wide", diff --git a/src/utils.rs b/src/utils.rs index 0e019f2..32f73a7 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -607,7 +607,7 @@ pub struct Preferences { pub available_mascots: Vec, pub theme: String, pub mascot: String, - pub redsublib_colorway: String, + pub redsunlib_colorway: String, pub front_page: String, pub layout: String, pub wide: String, @@ -662,7 +662,7 @@ impl Preferences { available_mascots: mascots, theme: setting(req, "theme"), mascot: setting(req, "mascot"), - redsublib_colorway: setting(req, "redsublib_colorway"), + redsunlib_colorway: setting(req, "redsunlib_colorway"), front_page: setting(req, "front_page"), layout: setting(req, "layout"), wide: setting(req, "wide"), diff --git a/templates/base.html b/templates/base.html index e63569d..68e2eb8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -41,7 +41,7 @@ {% if prefs.fixed_navbar == "on" %} fixed_navbar{% endif %}"> diff --git a/templates/settings.html b/templates/settings.html index 25822dc..861a9ca 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -30,9 +30,9 @@
- - - + + +
@@ -158,7 +158,7 @@

Note: settings and subscriptions are saved in browser cookies. Clearing your cookies will reset them.


-

You can restore your current settings and subscriptions after clearing your cookies using this link.

+

You can restore your current settings and subscriptions after clearing your cookies using this link.

{% if prefs.subscriptions.len() > 0 %}