Arie/serveme

View on GitHub
app/views/reservations/_connect_info.haml

Summary

Maintainability
Test Coverage
%div{id: "reservation_connect_info_#{reservation.id}"}
  - if reservation&.server&.sdr? && preliminary_sdr?(reservation)
    Temporary connect info
    %br

  = reservation.connect_string
  = render 'shared/copy_button', :copy_button_id => "connect_string", :copy_text => reservation.connect_string