MDL-57968 core_message: Remove multiple unnecessary AJAX requests
authorcescobedo <carlos.escobedo@gmail.com>
Tue, 5 Jun 2018 23:02:00 +0000 (01:02 +0200)
committercescobedo <carlos.escobedo@gmail.com>
Tue, 5 Jun 2018 23:02:00 +0000 (01:02 +0200)
commit84e03ed859f557e825ed4dc5838869cea5d6e8c2
tree7e1e2959c9d29058545f978e0f1402295c5b48bd
parent5b4ca9eb5b12f3df982219504f3f1cef813c0a1d
MDL-57968 core_message: Remove multiple unnecessary AJAX requests

Remove AJAX requests core_message_get_unread_conversations_count and
message_popup_get_unread_popup_notification_count and
render the unread messages and notifications into mustache template.
message/output/popup/amd/build/message_popover_controller.min.js
message/output/popup/amd/build/notification_popover_controller.min.js
message/output/popup/amd/src/message_popover_controller.js
message/output/popup/amd/src/notification_popover_controller.js
message/output/popup/lib.php
message/output/popup/templates/message_popover.mustache
message/output/popup/templates/notification_popover.mustache