Sha256: 76ea8dd715d6af5e8444c0637627da648889be1cf6ab7efbbc8ccd4512002dac
Contents?: true
Size: 1.35 KB
Versions: 4
Compression:
Stored size: 1.35 KB
Contents
<div class="modal fade" id="flagged_warning" tabindex="-1" role="dialog" aria-labelledby="flaggedWarning"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 class="modal-title">EXPLICIT CONTENT WARNING</h3> </div> <div class="modal-body"> <p><strong>This item contains content that could be offensive to some viewers or inappropriate for minors.</strong></p> <p> </p> <p>Click "View Content" to continue to the item or "Back to Search" to return to the search results page.</p> </div> <div class="modal-footer"> <button type="button" class="btn btn-warning" data-dismiss="modal">View Content</button> <!-- <button type="button" class="btn btn-danger">Back to Search</button> --> <% if current_search_session %> <%= link_back_to_catalog(:class => 'btn btn-danger') %> <% else %> <%= link_to t('blacklight.back_to_search'), search_catalog_path, :class => 'btn btn-danger' %> <% end %> </div> </div> </div> </div> <script type="text/javascript"> // fire the warning modal and make the backdrop very dark $('#flagged_warning').modal(); $(".modal-backdrop").css("opacity",".95"); </script>
Version data entries
4 entries across 4 versions & 1 rubygems