Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
{{!This file is part of Moodle - http://moodle.org/Moodle is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Moodle. If not, see <http://www.gnu.org/licenses/>.}}{{!@template core_message/message_drawer_view_search_results_contentThis template will render the search results content in the search pageof the message drawer.Classes required for JS:* noneData attributes required for JS:* All data attributes are requiredContext variables required for this template:* userid The logged in user id* urls The URLs for the popoverExample context (json):{}}}<div class="d-flex flex-column"><div class="mb-3 bg-white" data-region="all-contacts-container"><div data-region="contacts-container" class="pt-2"><h3 class="h6 px-2">{{#str}} contacts, core_message {{/str}}</h3><div class="list-group" data-region="list"></div></div><div data-region="non-contacts-container" class="pt-2 border-top"><h3 class="h6 px-2">{{#str}} noncontacts, core_message {{/str}}</h3><div class="list-group" data-region="list"></div></div><div class="text-right"><button class="btn btn-link text-primary" data-action="load-more-users"><span data-region="button-text">{{#str}} loadmore, core_message {{/str}}</span><span data-region="loading-icon-container" class="hidden">{{> core/loading }}</span></button></div></div><div class="bg-white" data-region="messages-container"><h3 class="h6 px-2 pt-2">{{#str}} messages, core_message {{/str}}</h3><div class="list-group" data-region="list"></div><div class="text-right"><button class="btn btn-link text-primary" data-action="load-more-messages"><span data-region="button-text">{{#str}} loadmore, core_message {{/str}}</span><span data-region="loading-icon-container" class="hidden">{{> core/loading }}</span></button></div></div><p class="hidden p-3 text-center" data-region="no-results-container">{{#str}} noresults, core {{/str}}</p></div>