var text = document.getElementById('report-issue-submit').firstChild;
text.data = "Report sent";
$('div').remove('.modal-footer-status');
- $('.modal-footer').append('<div class="modal-footer-status pull-left"><div><p>Thanks for reporting this issue!</p></div></div>');
+ $('.modal-footer').append('<div class="modal-footer-status pull-left alert alert-success"><div><p>Thanks for reporting this issue!</p></div></div>');
}
}).
on('ajax:failure', function() {
var sendButton = document.getElementById('report-issue-submit');
if (sendButton && sendButton.disabled) {
$('div').remove('.modal-footer-status');
- $('.modal-footer').append('<div class="modal-footer-status pull-left"></br><p>We are sorry. We could not submit your report! We really want this to work, though -- please try again.</p></div>');
+ $('.modal-footer').append('<div class="modal-footer-status pull-left alert alert-danger"></br><p>We are sorry. We could not submit your report! We really want this to work, though -- please try again.</p></div>');
var text = document.getElementById('report-issue-submit').firstChild;
text.data = "Report issue";
sendButton.disabled = false;
<li class="dropdown notification-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" id="notifications-menu">
<span class="badge badge-alert notification-count"><%= @notification_count %></span>
- <%= current_user.email %>
+ <%= current_user.email %>▼
</a>
<ul class="dropdown-menu" role="menu">
<li role="presentation" class="dropdown-header">