Skip to content

Commit

Permalink
Fix paths for some partials (#3489)
Browse files Browse the repository at this point in the history
Including the .html.erb extension when rendering partials seems to no
longer work (Rails 7?).
  • Loading branch information
robinkar authored Apr 3, 2024
1 parent aac668c commit 067996d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<% if !d.nodes.nil? %>
<% d.nodes.each do |node| %>
<%= render partial: 'active_jobs/job_details_node_view.html.erb', :locals => {:data => d, :node => node } %>
<%= render partial: 'active_jobs/job_details_node_view', :locals => {:data => d, :node => node } %>
<% end %>
<% end %>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
json.html_extended_panel render partial: 'active_jobs/extended_panel.html.erb', :locals => {:data => jobstatusdata}
json.html_extended_panel render partial: 'active_jobs/extended_panel', :locals => {:data => jobstatusdata}
json.status jobstatusdata.status
json.html_ganglia_graphs_table render partial: 'active_jobs/ganglia_graphs_table.html.erb', :locals => {:d => jobstatusdata}
json.html_ganglia_graphs_table render partial: 'active_jobs/ganglia_graphs_table', :locals => {:d => jobstatusdata}
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

<% if browser.platform == :windows %>

<%= render partial: 'batch_connect/sessions/connections/native_vnc_windows.html.erb', :locals => { :connect => connect, :localport => localport } %>
<%= render partial: 'batch_connect/sessions/connections/native_vnc_windows', :locals => { :connect => connect, :localport => localport } %>

<% elsif browser.platform == :mac %>

<%= render partial: 'batch_connect/sessions/connections/native_vnc_mac.html.erb', :locals => { :connect => connect, :localport => localport } %>
<%= render partial: 'batch_connect/sessions/connections/native_vnc_mac', :locals => { :connect => connect, :localport => localport } %>

<% elsif browser.platform == :linux %>

<%= render partial: 'batch_connect/sessions/connections/native_vnc_linux.html.erb', :locals => { :connect => connect, :localport => localport } %>
<%= render partial: 'batch_connect/sessions/connections/native_vnc_linux', :locals => { :connect => connect, :localport => localport } %>

<% else %>
We do not currently support documentation for connecting to a VNC session
Expand Down

0 comments on commit 067996d

Please sign in to comment.