mconf/mconf-web

View on GitHub
app/views/custom_bigbluebutton_servers/_server_links.html.haml

Summary

Maintainability
Test Coverage
-# locals:
-#   server (Server): the target server model

.dropdown
  .btn.btn-default.dropdown-toggle{ data: { toggle: 'dropdown' } }
    = t('.choose_action')
    %span.caret
  %ul.dropdown-menu.dropdown-menu-right
    %li= link_to t('custom_bigbluebutton_servers._other.new_server'), new_bigbluebutton_server_path
    %li= link_to t('_other.details'), bigbluebutton_server_path(server)
    %li= link_to t('custom_bigbluebutton_servers._other.activity_monitor'), activity_bigbluebutton_server_path(server)
    %li= link_to t('_other.edit'), edit_bigbluebutton_server_path(server)
    %li= link_to t('custom_bigbluebutton_servers._other.view_rooms'), rooms_bigbluebutton_server_path(server)
    %li= link_to t('custom_bigbluebutton_servers._other.view_recordings'), recordings_bigbluebutton_server_path(server)
    %li= link_to t('custom_bigbluebutton_servers._other.fetch_recordings'), fetch_recordings_bigbluebutton_server_path(server), :data => { :confirm => t('are_you_sure') }, :method => :post
    %li= link_to t('_other.destroy'), bigbluebutton_server_path(server), :data => { :confirm => t('are_you_sure') }, :method => :delete