Merge branch 'MDL-73502' of https://github.com/stronk7/moodle
[moodle.git] / lib / templates / filemanager_processexistingfilemultiple.mustache
blob760b1a1069e59e493419231027fdd4fc2693297e
1 {{!
2     This file is part of Moodle - http://moodle.org/
4     Moodle is free software: you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation, either version 3 of the License, or
7     (at your option) any later version.
9     Moodle is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
14     You should have received a copy of the GNU General Public License
15     along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
17 {{!
18     @template core/filemanager_processexistingfilemultiple
20     This template renders the popup dialogue window asking for action when file with the same name already exists
21      * (multiple-file version).
23     Example context (json):
24     {}
26 <div class="file-picker fp-dlg">
27     <p class="fp-dlg-text"></p>
28     <a class="fp-dlg-butoverwrite btn btn-primary" href="#">{{#str}}overwrite, repository{{/str}}</a>
29     <a class="fp-dlg-butrename btn btn-primary" href="#"></a>
30     <a class="fp-dlg-butcancel btn btn-secondary" href="#">{{#str}}cancel{{/str}}</a>
31     <br/>
32     <a class="fp-dlg-butoverwriteall btn btn-primary" href="#">{{#str}}overwriteall, repository{{/str}}</a>
33     <a class="fp-dlg-butrenameall btn btn-primary" href="#">{{#str}}renameall, repository{{/str}}</a>
34 </div>