diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css
index 9f9ac1d..7a05c5f 100644
--- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css
+++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css
@@ -2617,7 +2617,7 @@ button:focus-visible, input:focus-visible, select:focus-visible {
.tab-icon { display: block; }
/* Shorten long tab labels to keep bottom nav compact */
.tab[data-tab="bookmarks"] .tab-label { font-size: 0.6rem; }
- .tab[data-tab="decoders"] .tab-label { font-size: 0.6rem; }
+ .tab[data-tab="digital-modes"] .tab-label { font-size: 0.6rem; }
.top-bar-actions {
width: 100%;
justify-content: flex-start;
@@ -2639,7 +2639,7 @@ button:focus-visible, input:focus-visible, select:focus-visible {
min-width: 0;
}
#tab-main,
- #tab-decoders,
+ #tab-digital-modes,
#tab-map,
#tab-about {
scroll-margin-top: 0.75rem;
@@ -2917,7 +2917,7 @@ button:focus-visible, input:focus-visible, select:focus-visible {
.bm-col-bw::before { content: "Bandwidth"; }
.bm-col-loc::before { content: "Locator"; }
.bm-col-cat::before { content: "Category"; }
- .bm-col-dec::before { content: "Decoders"; }
+ .bm-col-dec::before { content: "Digital modes"; }
.bm-col-cmt { grid-column: 1 / -1; }
.bm-col-cmt::before { content: "Comment"; }
.bm-col-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 0.25rem; }
diff --git a/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs b/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs
index 9805a30..265dea8 100644
--- a/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs
+++ b/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs
@@ -1945,7 +1945,7 @@ pub async fn set_vchan_mode(
pub fn configure(cfg: &mut web::ServiceConfig) {
cfg.service(index)
.service(map_index)
- .service(decoders_index)
+ .service(digital_modes_index)
.service(settings_index)
.service(about_index)
.service(status_api)
@@ -2057,8 +2057,8 @@ async fn map_index() -> impl Responder {
no_cache_response("text/html; charset=utf-8", status::index_html())
}
-#[get("/decoders")]
-async fn decoders_index() -> impl Responder {
+#[get("/digital-modes")]
+async fn digital_modes_index() -> impl Responder {
no_cache_response("text/html; charset=utf-8", status::index_html())
}
diff --git a/src/trx-client/trx-frontend/trx-frontend-http/src/auth.rs b/src/trx-client/trx-frontend/trx-frontend-http/src/auth.rs
index 7ee2bbb..edafda7 100644
--- a/src/trx-client/trx-frontend/trx-frontend-http/src/auth.rs
+++ b/src/trx-client/trx-frontend/trx-frontend-http/src/auth.rs
@@ -477,7 +477,7 @@ impl RouteAccess {
if path == "/"
|| path == "/index.html"
|| path == "/map"
- || path == "/decoders"
+ || path == "/digital-modes"
|| path == "/settings"
|| path == "/about"
|| path.starts_with("/auth/")
@@ -666,7 +666,10 @@ mod tests {
fn test_route_access_public_paths() {
assert_eq!(RouteAccess::from_path("/"), RouteAccess::Public);
assert_eq!(RouteAccess::from_path("/map"), RouteAccess::Public);
- assert_eq!(RouteAccess::from_path("/decoders"), RouteAccess::Public);
+ assert_eq!(
+ RouteAccess::from_path("/digital-modes"),
+ RouteAccess::Public
+ );
assert_eq!(RouteAccess::from_path("/settings"), RouteAccess::Public);
assert_eq!(RouteAccess::from_path("/about"), RouteAccess::Public);
assert_eq!(RouteAccess::from_path("/auth/login"), RouteAccess::Public);