feat: rename 3Nodes to Mycelium Nodes across codebase and documentation
This commit is contained in:
@@ -377,8 +377,8 @@ impl MarketplaceController {
|
||||
render_template(&tmpl, "marketplace/compute_resources.html", &ctx)
|
||||
}
|
||||
|
||||
/// Renders the 3Nodes marketplace page with REAL farmer nodes from database
|
||||
pub async fn three_nodes(tmpl: web::Data<Tera>, session: Session, query: web::Query<std::collections::HashMap<String, String>>) -> Result<impl Responder> {
|
||||
/// Renders the Mycelium Nodes marketplace page with REAL farmer nodes from database
|
||||
pub async fn mycelium_nodes(tmpl: web::Data<Tera>, session: Session, query: web::Query<std::collections::HashMap<String, String>>) -> Result<impl Responder> {
|
||||
// Build services using established builder pattern
|
||||
let currency_service = CurrencyService::builder()
|
||||
.build()
|
||||
@@ -395,7 +395,7 @@ impl MarketplaceController {
|
||||
// Build context using ContextBuilder pattern
|
||||
let mut ctx = crate::models::builders::ContextBuilder::new()
|
||||
.active_page("marketplace")
|
||||
.active_section("three_nodes")
|
||||
.active_section("mycelium_nodes")
|
||||
.user_if_available(&session)
|
||||
.build();
|
||||
|
||||
@@ -484,7 +484,7 @@ impl MarketplaceController {
|
||||
ctx.insert("node_statistics", &node_marketplace_service.get_capacity_statistics());
|
||||
ctx.insert("available_regions", &node_marketplace_service.get_available_regions());
|
||||
|
||||
render_template(&tmpl, "marketplace/three_nodes.html", &ctx)
|
||||
render_template(&tmpl, "marketplace/mycelium_nodes.html", &ctx)
|
||||
}
|
||||
|
||||
/// Renders the gateways marketplace page
|
||||
|
||||
Reference in New Issue
Block a user