X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/message/templates
home
/
cbholdings
/
pasukulu
/
message
/
templates
/
📁
..
📄
add_contact_button.mustache
(1.26 KB)
📄
default_notification_preferences.mustache
(6.85 KB)
📄
message_drawer.mustache
(3.12 KB)
📄
message_drawer_contacts_list.mustache
(2.5 KB)
📄
message_drawer_contacts_list_item_placeholder.mustache
(1.41 KB)
📄
message_drawer_conversations_list.mustache
(4.3 KB)
📄
message_drawer_conversations_list_items_placeholder.mustache
(2 KB)
📄
message_drawer_icon_back.mustache
(1.36 KB)
📄
message_drawer_icon_forward.mustache
(1.21 KB)
📄
message_drawer_lazy_load_list.mustache
(1.8 KB)
📄
message_drawer_messages_list.mustache
(3.48 KB)
📄
message_drawer_messages_list_item_placeholder.mustache
(1.84 KB)
📄
message_drawer_non_contacts_list.mustache
(2.26 KB)
📄
message_drawer_view_contact_body.mustache
(1.26 KB)
📄
message_drawer_view_contact_body_content.mustache
(3.19 KB)
📄
message_drawer_view_contacts_body.mustache
(4.11 KB)
📄
message_drawer_view_contacts_body_section_contacts.mustache
(1.63 KB)
📄
message_drawer_view_contacts_body_section_requests.mustache
(1.63 KB)
📄
message_drawer_view_contacts_body_section_requests_list.mustache
(2.2 KB)
📄
message_drawer_view_contacts_header.mustache
(1.83 KB)
📄
message_drawer_view_conversation_body.mustache
(2.95 KB)
📄
message_drawer_view_conversation_body_confirm_dialogue.mustache
(4.79 KB)
📄
message_drawer_view_conversation_body_day.mustache
(1.71 KB)
📄
message_drawer_view_conversation_body_day_placeholder.mustache
(3.71 KB)
📄
message_drawer_view_conversation_body_message.mustache
(3.56 KB)
📄
message_drawer_view_conversation_body_messages.mustache
(1.32 KB)
📄
message_drawer_view_conversation_body_placeholder.mustache
(1.7 KB)
📄
message_drawer_view_conversation_footer.mustache
(2.58 KB)
📄
message_drawer_view_conversation_footer_content.mustache
(2.84 KB)
📄
message_drawer_view_conversation_footer_edit_mode.mustache
(1.71 KB)
📄
message_drawer_view_conversation_footer_placeholder.mustache
(1.34 KB)
📄
message_drawer_view_conversation_footer_require_contact.mustache
(1.59 KB)
📄
message_drawer_view_conversation_footer_require_unblock.mustache
(1.59 KB)
📄
message_drawer_view_conversation_footer_unable_to_message.mustache
(1.29 KB)
📄
message_drawer_view_conversation_header.mustache
(1.79 KB)
📄
message_drawer_view_conversation_header_content_type_private.mustache
(5.87 KB)
📄
message_drawer_view_conversation_header_content_type_private_no_controls.mustache
(2.97 KB)
📄
message_drawer_view_conversation_header_content_type_public.mustache
(5.38 KB)
📄
message_drawer_view_conversation_header_content_type_self.mustache
(3.37 KB)
📄
message_drawer_view_conversation_header_edit_mode.mustache
(1.54 KB)
📄
message_drawer_view_conversation_header_placeholder.mustache
(1.86 KB)
📄
message_drawer_view_group_info_body.mustache
(1.35 KB)
📄
message_drawer_view_group_info_body_content.mustache
(2.5 KB)
📄
message_drawer_view_group_info_participants_list.mustache
(2.24 KB)
📄
message_drawer_view_group_info_participants_list_item_placeholder.mustache
(1.43 KB)
📄
message_drawer_view_overview_body.mustache
(1.64 KB)
📄
message_drawer_view_overview_footer.mustache
(1.2 KB)
📄
message_drawer_view_overview_header.mustache
(2.88 KB)
📄
message_drawer_view_overview_section.mustache
(3.41 KB)
📄
message_drawer_view_overview_section_favourites.mustache
(1.57 KB)
📄
message_drawer_view_overview_section_group_messages.mustache
(1.61 KB)
📄
message_drawer_view_overview_section_messages.mustache
(1.84 KB)
📄
message_drawer_view_search_body.mustache
(1.81 KB)
📄
message_drawer_view_search_header.mustache
(2.53 KB)
📄
message_drawer_view_search_results_content.mustache
(2.68 KB)
📄
message_drawer_view_search_results_content_placeholder.mustache
(1.25 KB)
📄
message_drawer_view_settings_body.mustache
(1.45 KB)
📄
message_drawer_view_settings_body_content.mustache
(2.79 KB)
📄
message_drawer_view_settings_body_content_notification_preferences.mustache
(1.7 KB)
📄
message_drawer_view_settings_body_placeholder.mustache
(2.89 KB)
📄
message_drawer_view_settings_header.mustache
(1.6 KB)
📄
message_index.mustache
(3.43 KB)
📄
message_jumpto.mustache
(945 B)
📄
message_popover.mustache
(1.98 KB)
📄
message_preferences.mustache
(3.58 KB)
📄
message_preferences_component.mustache
(1.85 KB)
📄
message_preferences_notification_processor.mustache
(1.59 KB)
📄
notification_preferences.mustache
(3.56 KB)
📄
notification_preferences_component.mustache
(2.08 KB)
📄
notification_preferences_component_notification.mustache
(3.02 KB)
📄
notification_preferences_processor.mustache
(2.26 KB)
📄
preferences_processor.mustache
(1.76 KB)
📄
remove_contact_button.mustache
(1.27 KB)
📄
send_bulk_message.mustache
(1.24 KB)
Editing: default_notification_preferences.mustache
{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. }} {{! @template core_message/default_notification_preferences This template will render the default notification preferences for admin settings. Classes required for JS: * none Data attributes required for JS: * All data attributes are required Context variables required for this template: * providers Message providers * components Provider components * processors Message processors * preferences Saved preferences Example context (json): { "processors": [ { "displayname": "Web", "name": "popup" } ], "components": [ { "displayname": "Assignment", "name": "mod_assign", "colspan": 3, "providers": [ { "name": "assign_notification", "component": "mod_assign", "displayname": "Assignment notifications", "enabledsetting": "mod_assign_assign_notification_disable", "enabledlabel": "Sending Assignment enabled status", "enabled": 1, "settings": [ { "lockedsetting": "mod_assign_assign_notification_locked[popup]", "locked": 1, "lockedlabel": "Sending Assignment via Web locked status", "enabledsetting": "mod_assign_assign_notification_enabled[popup]", "enabled": 1, "enabledlabel": "Sending Assignment via Web enabled status" } ] } ] } ] } }} <div class="preferences-page-container"> <h2>{{#str}} managemessageoutputs, message {{/str}}</h2> <div class="preferences-container"> <table class="table table-hover preference-table"> <thead> <tr> <th></th> <th>{{#str}} enabled, core_message {{/str}}</th> {{#processors}} <th data-processor-name="{{name}}">{{{displayname}}}</th> {{/processors}} </tr> </thead> <tbody> {{#components}} <tr class="preference-row"><th colspan="{{{colspan}}}">{{{displayname}}}</th></tr> {{#providers}} <tr class="defaultmessageoutputs"> <td>{{{displayname}}}</td> <td> <div data-preference="{{{enabledsetting}}}"> <div class="custom-control custom-switch"> <input type="checkbox" id="{{{enabledsetting}}}" name="{{{enabledsetting}}}" class="custom-control-input provider_enabled" {{#enabled}}checked{{/enabled}} > <label for="{{{enabledsetting}}}" class="custom-control-label" title="{{enabledlabel}}"> <span class="accesshide">{{enabledlabel}}</span> </label> </div> </div> </td> {{#settings}} <td class="text-left"> <div data-preference="{{{enabledsetting}}}"> <div class="custom-control custom-switch {{#locked}} dimmed_text{{/locked}} pb-1"> <input type="checkbox" id="{{{enabledsetting}}}" name="{{{enabledsetting}}}" class="custom-control-input enabled_message_setting" {{#enabled}}checked{{/enabled}} > <label for="{{{enabledsetting}}}" class="custom-control-label" title="{{enabledlabel}}"> {{#str}} enabled, core_message {{/str}} </label> </div> </div> <div data-preference="{{{lockedsetting}}}"> <div class="custom-control custom-switch pt-1"> <input type="checkbox" id="{{{lockedsetting}}}" name="{{{lockedsetting}}}" class="custom-control-input locked_message_setting" {{#locked}}checked{{/locked}} > <label for="{{{lockedsetting}}}" class="custom-control-label" title="{{lockedlabel}}"> {{#str}} forced, core_message {{/str}} </label> </div> </div> </td> {{/settings}} </tr> {{/providers}} {{/components}} </tbody> </table> </div> </div> {{#js}} require(['core_message/default_notification_preferences'], function(NotificationPreferences) { NotificationPreferences.init(); }); {{/js}}
Upload File
Create Folder