summaryrefslogtreecommitdiff
path: root/app/views/dashboard
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-08-29 14:22:37 +0200
committerMarius Peter <marius.peter@tutanota.com>2025-08-29 14:22:37 +0200
commit075665c588989ed0decdfb20d83f32b33eed4639 (patch)
treed9ec78be7338bd51c895b7fb311f081a7c77c45f /app/views/dashboard
parent52b044d6a4278c229992404ad5801769c2d13363 (diff)
Properly implement bed and raft management logic.
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/_nutrient_measurements.html.erb (renamed from app/views/dashboard/_recent_measurements.html.erb)0
-rw-r--r--app/views/dashboard/_raft_allocation.html.erb4
-rw-r--r--app/views/dashboard/index.html.erb2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/dashboard/_recent_measurements.html.erb b/app/views/dashboard/_nutrient_measurements.html.erb
index bc63a60..bc63a60 100644
--- a/app/views/dashboard/_recent_measurements.html.erb
+++ b/app/views/dashboard/_nutrient_measurements.html.erb
diff --git a/app/views/dashboard/_raft_allocation.html.erb b/app/views/dashboard/_raft_allocation.html.erb
index ef95cdd..a2128ea 100644
--- a/app/views/dashboard/_raft_allocation.html.erb
+++ b/app/views/dashboard/_raft_allocation.html.erb
@@ -1,7 +1,7 @@
<div class="card shadow mb-4">
<div class="card-header d-flex justify-content-between align-items-center">
- <h5 class="mb-0">Raft Allocation</h5>
- <%= link_to "Edit raft allocation", editor_rafts_path, class: "btn btn-sm btn-primary" %>
+ <h5 class="mb-0">Crop Allocation</h5>
+ <%= link_to "Edit allocation", beds_path, class: "btn btn-sm btn-primary" %>
</div>
<%= bar_chart @raft_data, stacked: true %>
diff --git a/app/views/dashboard/index.html.erb b/app/views/dashboard/index.html.erb
index 2902ada..b1b2d87 100644
--- a/app/views/dashboard/index.html.erb
+++ b/app/views/dashboard/index.html.erb
@@ -4,4 +4,4 @@
<%= render "target_table" %>
-<%= render "recent_measurements" %>
+<%= render "nutrient_measurements" %>
Copyright 2019--2025 Marius PETER