Delete pop menu for sign_out, also count dossiers on user side
This commit is contained in:
parent
3153eeaf01
commit
5915a2b7d5
2 changed files with 1 additions and 9 deletions
|
@ -10,14 +10,6 @@ function init_default_data_block() {
|
|||
toggle_default_data_bloc(this, 400);
|
||||
});
|
||||
|
||||
$('#sign_out').hover(function () {
|
||||
$(this).find('#credentials').toggle();
|
||||
});
|
||||
|
||||
$('#sign_out').mouseout(function() {
|
||||
$(this).find('credentials').toggle();
|
||||
});
|
||||
|
||||
$('.new-action').click(function () {
|
||||
var messages_block = $(this).parents().closest('.default_data_block').find('.title')
|
||||
toggle_default_data_bloc(messages_block, 400);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
%div#first-block
|
||||
%div.en-cours
|
||||
= dossier_count = @dossiers_list_facade.dossiers_to_display.count
|
||||
= dossier_count = current_user.dossiers.count
|
||||
= ("Dossier".pluralize(dossier_count)).upcase
|
||||
%br
|
||||
= "EN COURS"
|
||||
|
|
Loading…
Reference in a new issue