diff options
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.erb | 4 | ||||
-rw-r--r-- | app/views/dashboard/index.html.erb | 2 |
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" %> |