1 |
efrain |
1 |
<!--
|
|
|
2 |
// This file is part of Moodle - http://moodle.org/
|
|
|
3 |
//
|
|
|
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.
|
|
|
8 |
//
|
|
|
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.
|
|
|
13 |
//
|
|
|
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/>.
|
|
|
16 |
|
|
|
17 |
/**
|
|
|
18 |
* @package block_quickmail
|
|
|
19 |
* @copyright 2008 onwards Louisiana State University
|
|
|
20 |
* @copyright 2008 onwards Chad Mazilly, Robert Russo, Jason Peak, Dave Elliott, Adam Zapletal, Philip Cali
|
|
|
21 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
22 |
*/
|
|
|
23 |
-->
|
|
|
24 |
|
|
|
25 |
<div class="block_quickmail_alternate_index">
|
|
|
26 |
<table class="table table-hover">
|
|
|
27 |
<thead>
|
|
|
28 |
<tr>
|
|
|
29 |
{{# tableHeadings }}
|
|
|
30 |
<th>{{.}}</th>
|
|
|
31 |
{{/ tableHeadings }}
|
|
|
32 |
</tr>
|
|
|
33 |
</thead>
|
|
|
34 |
<tbody>
|
|
|
35 |
{{# tableRows }}
|
|
|
36 |
<tr>
|
|
|
37 |
<td>{{ email }}</td>
|
|
|
38 |
<td>{{ fullname }}</td>
|
|
|
39 |
<td>{{ scope }}</td>
|
|
|
40 |
<td>{{ status }}</td>
|
|
|
41 |
<td>
|
|
|
42 |
<a href="?action=delete&id={{ id }}" class="btn btn-danger btn-sm btn-delete-alt">{{# str }} delete {{/ str }}</a>
|
|
|
43 |
{{^ isValidated }}
|
|
|
44 |
<a href="?action=resend&id={{ id }}" class="btn btn-info btn-sm btn-resend-alt">{{# str }} alternate_resend_confirmation, block_quickmail {{/ str }}</a>
|
|
|
45 |
{{/ isValidated }}
|
|
|
46 |
</td>
|
|
|
47 |
</tr>
|
|
|
48 |
{{/ tableRows }}
|
|
|
49 |
|
|
|
50 |
{{^ tableRows }}
|
|
|
51 |
<tr>
|
|
|
52 |
<td colspan="5" align="center">{{# str }} no_alternates, block_quickmail {{/ str }}</td>
|
|
|
53 |
</tr>
|
|
|
54 |
{{/ tableRows }}
|
|
|
55 |
</tbody>
|
|
|
56 |
</table>
|
|
|
57 |
|
|
|
58 |
<a href="{{ urlBack }}" class="btn btn-secondary">{{ urlBackLabel }}</a>
|
|
|
59 |
<a href="{{ urlCreate }}" class="btn btn-primary">{{# str }} create_new, block_quickmail {{/ str }}</a>
|
|
|
60 |
</div>
|