Merge pull request #3514 from alchemy-fr/PHRAS-3111_prod_quarantine_clean_view_warning

PHRAS-3111 #comment merge Prod - Quarantine - Clean view quarantine warn
This commit is contained in:
Nicolas Maillat
2020-06-01 20:36:54 +02:00
committed by GitHub

View File

@@ -42,10 +42,19 @@
</script>
<script type="text/template" id="download_finish_tpl">
<b><%= heading %></b>
<b class="show_more_message" ><%= heading %></b>
<br />
<% _.each(reasons, function(reason) { %>
<div>*<%= reason %></div>
<b class="hidden alert alert-error more-warning" role="alert" style="position: absolute">*<%= reason %></b>
<% }); %>
</script>
<script>
$(document).on('mouseover','.show_more_message', function (e) {
$(this).parent().find('.more-warning').removeClass('hidden')
})
$(document).on('mouseout','.show_more_message',function (e) {
$(this).parent().find('.more-warning').addClass('hidden')
})
</script>