##// END OF EJS Templates
Add mousetrap.js file from Mousetrap 1.4.5, under the Apache license....
Add mousetrap.js file from Mousetrap 1.4.5, under the Apache license. The file was download and verified via these commands: $ git clone https://github.com/ccampbell/mousetrap.git $ cd mousetrap; git checkout 1.4.5 The file in that repository named mousetrap.js is exactly the same one that appeared in RhodeCode 2.2.5 in changeset c8d3c0d61d95. The mousetrap.js states clearly that it is licensed under Apache-2.0.

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4126:158ef336 rhodecode-2.2.5-gpl
Show More
flash_msg.html
16 lines | 487 B | text/html | HtmlLexer
<div class="flash_msg">
<% messages = h.flash.pop_messages() %>
% if messages:
% for message in messages:
<div class="alert alert-dismissable alert-${message.category}">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
${message}
</div>
% endfor
% endif
<script>
if (typeof jQuery != 'undefined') {
$(".alert").alert();
}
</script>
</div>