forked from External/greenlight
		
	button tooltips
This commit is contained in:
		@@ -86,7 +86,7 @@ class @Recordings
 | 
			
		||||
              str = ''
 | 
			
		||||
              if row.published
 | 
			
		||||
                if data.length == 1
 | 
			
		||||
                  str = '<a class="btn btn-default" href="'+data[0].url+'" target="_blank"><i class="fa fa-play-circle"></i></a>'
 | 
			
		||||
                  str = '<a class="btn btn-default play-tooltip" href="'+data[0].url+'" target="_blank"><i class="fa fa-play-circle"></i></a>'
 | 
			
		||||
                else
 | 
			
		||||
                  for d in data
 | 
			
		||||
                    str += '<a href="'+d.url+'" target="_blank">'+d.type_i18n+'</a> '
 | 
			
		||||
@@ -137,6 +137,14 @@ class @Recordings
 | 
			
		||||
    };
 | 
			
		||||
    $('#recordings').tooltip(options)
 | 
			
		||||
 | 
			
		||||
    options.selector = '.visibility-tooltip'
 | 
			
		||||
    options.title = I18n.change_visibility
 | 
			
		||||
    $('#recordings').tooltip(options)
 | 
			
		||||
 | 
			
		||||
    options.selector = '.play-tooltip'
 | 
			
		||||
    options.title = I18n.play_recording
 | 
			
		||||
    $('#recordings').tooltip(options)
 | 
			
		||||
 | 
			
		||||
    $(document).one "turbolinks:before-cache", =>
 | 
			
		||||
      @getTable().api().clear().draw().destroy()
 | 
			
		||||
 | 
			
		||||
@@ -209,7 +217,7 @@ class @Recordings
 | 
			
		||||
        for key in [0...recording_names.length]
 | 
			
		||||
          output[recording_names[key]] = recording_names[key]
 | 
			
		||||
        PreviousMeetings.add(value for key, value of output)
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  # setup click handlers for the action buttons
 | 
			
		||||
  setupActionHandlers: ->
 | 
			
		||||
 
 | 
			
		||||
@@ -23,7 +23,7 @@
 | 
			
		||||
  <div class="verticle-line"></div>
 | 
			
		||||
  <div class="col-xs-6">
 | 
			
		||||
    <%= render 'shared/title', title: t('join'), title_class: 'join-meeting-title' %>
 | 
			
		||||
    <button type="button" class="btn btn-primary center-block meeting-start">
 | 
			
		||||
    <button type="button" class="btn btn-primary center-block meeting-start has-tooltip" data-placement="top" title="<%= t('start_meeting') %>">
 | 
			
		||||
      <%= t('start_join') %>
 | 
			
		||||
    </button>
 | 
			
		||||
  </div>
 | 
			
		||||
 
 | 
			
		||||
@@ -74,7 +74,7 @@
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div class="recording-actions">
 | 
			
		||||
    <button type="button" class="btn btn-default has-popover recording-update-trigger"
 | 
			
		||||
    <button type="button" class="btn btn-default has-popover recording-update-trigger visibility-tooltip"
 | 
			
		||||
            data-placement="left" data-popover-body=".recording-visibility-popover"
 | 
			
		||||
            data-popover-title="<%= t('change_recording_visibility') %>">
 | 
			
		||||
      <%= icon('eye') %>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user