-
- Téléchargements
Disable 'Mark all as read' for notifications when everything is read
- This action needn't be performed when all notifications are read, hence disabling it is a good practice - Added a link-disabled-color - Used css pointer-events to disable clicking on the link Preventing default on click for the mark_all_read_link - avoiding the use of pointer-events - setting up disabled only for mark_all_read_link Moved disabling of the link to a global handler - Added disabled class to the button in /notifications when all are read - Styled the disabled button - Adding disabled class after completion of ajaxRequest
parent
da23efa4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/assets/javascripts/app/app.js 8 ajouts, 1 suppressionapp/assets/javascripts/app/app.js
- app/assets/javascripts/widgets/notifications.js 2 ajouts, 1 suppressionapp/assets/javascripts/widgets/notifications.js
- app/assets/stylesheets/application.css.sass 7 ajouts, 0 suppressionapp/assets/stylesheets/application.css.sass
- app/assets/stylesheets/colors.css.scss 1 ajout, 0 suppressionapp/assets/stylesheets/colors.css.scss
- app/assets/stylesheets/header.css.scss 4 ajouts, 0 suppressionapp/assets/stylesheets/header.css.scss
- app/assets/templates/header_tpl.jst.hbs 1 ajout, 1 suppressionapp/assets/templates/header_tpl.jst.hbs
- app/views/notifications/index.html.haml 1 ajout, 1 suppressionapp/views/notifications/index.html.haml
Veuillez vous inscrire ou vous se connecter pour commenter