Sha256: 7423db84483ddc7ec61bb5cb4288af022983f40043652e492fe6fc84a97c346d
Contents?: true
Size: 1.35 KB
Versions: 1
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'), catalog_index_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
commonwealth-vlr-engine-0.0.1 | app/views/catalog/_show_partials/_show_flagged_notice.html.erb |