app/views/prosperity/dashboards/show.html.erb in prosperity-0.0.8 vs app/views/prosperity/dashboards/show.html.erb in prosperity-0.0.9

- old
+ new

@@ -9,12 +9,15 @@ <p>No Graphs</p> <% end %> <% @dashboard.graphs.each do |graph| %> <div class="graph dashboard-graph"> - <h2><%= graph.title %></h2> + <h2 class="graph-title"><%= graph.title %></h2> + <div class="graph-edit-link"> + <%= link_to 'edit', edit_graph_path(graph) %> + </div> - <div class="metric dashboard" data-url="<%= graph_path(graph, start_time: start_time) %>"></div> + <%= render_graph graph, start_time: start_time, class: 'dashboard' %> </div> <% end %> <p> <%= link_to "Edit this dashboard", edit_dashboard_path(@dashboard) %>