forked from External/greenlight
show new publish icon on hover
This commit is contained in:
parent
0e0d744fe3
commit
f5fc08d58c
|
@ -63,12 +63,14 @@ class @Recordings
|
|||
if type == 'display'
|
||||
roomName = Meeting.getInstance().getId()
|
||||
published = row.published
|
||||
icon = getPublishClass(published)
|
||||
publishText = if published then 'unpublish' else 'publish'
|
||||
recordingActions = $('.hidden-elements').find('.recording-actions')
|
||||
recordingActions.find('.recording-update > i')
|
||||
.removeClass()
|
||||
.addClass('fa '+icon)
|
||||
recordingActions.find('.recording-update > i.default')
|
||||
.removeClass(PUBLISHED_CLASSES.join(' '))
|
||||
.addClass(getPublishClass(published))
|
||||
recordingActions.find('.recording-update > i.hover')
|
||||
.removeClass(PUBLISHED_CLASSES.join(' '))
|
||||
.addClass(getPublishClass(!published))
|
||||
recordingActions.find('.recording-update')
|
||||
.attr('data-published', published)
|
||||
.attr('title', I18n[publishText+'_recording'])
|
||||
|
|
|
@ -16,6 +16,17 @@
|
|||
.dataTables_empty {
|
||||
text-align: center;
|
||||
}
|
||||
.recording-update:hover > {
|
||||
.default {
|
||||
display: none;
|
||||
}
|
||||
.hover {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
.fa.hover {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,8 @@
|
|||
</div>
|
||||
<div class="recording-actions">
|
||||
<button type="button" class="btn btn-default recording-update bottom-tooltip" data-published="">
|
||||
<i class="fa" aria-hidden="true"></i>
|
||||
<i class="fa default" aria-hidden="true"></i>
|
||||
<i class="fa hover" aria-hidden="true"></i>
|
||||
</button>
|
||||
<a tabindex="0" role="button" class="btn btn-default has-popover delete-tooltip"
|
||||
data-placement="top">
|
||||
|
|
Loading…
Reference in New Issue