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 |
@template mod_bigbluebuttonbn/instance_updated_message.mustache
|
|
|
19 |
|
|
|
20 |
This template renders a message used to inform users that an activity has been created or updated.
|
|
|
21 |
|
|
|
22 |
Example context (json):
|
|
|
23 |
{
|
|
|
24 |
"link": "https://example.com/mod/bigbluebuttonbn/view.php?id=12345",
|
|
|
25 |
"is_create": 1,
|
|
|
26 |
"is_update": 0,
|
|
|
27 |
"name": "Daily standup",
|
|
|
28 |
"description": "A place to discuss daily progress, blockers, and the weather.",
|
|
|
29 |
"openingtime": 1234556623,
|
|
|
30 |
"closingtime": 1234559623
|
|
|
31 |
}
|
|
|
32 |
}}
|
|
|
33 |
|
|
|
34 |
{{#is_create}}
|
|
|
35 |
<p>{{#str}} notification_instance_created_intro, mod_bigbluebuttonbn, {
|
|
|
36 |
"name": {{#quote}}{{name}}{{/quote}},
|
|
|
37 |
"link": {{#quote}}{{{link}}}{{/quote}}
|
|
|
38 |
} {{/str}}
|
|
|
39 |
{{/is_create}}
|
|
|
40 |
|
|
|
41 |
{{#is_update}}
|
|
|
42 |
<p>{{#str}} notification_instance_updated_intro, mod_bigbluebuttonbn, {
|
|
|
43 |
"name": {{#quote}}{{name}}{{/quote}},
|
|
|
44 |
"link": {{#quote}}{{link}}{{/quote}}
|
|
|
45 |
} {{/str}}
|
|
|
46 |
{{/is_update}}
|
|
|
47 |
<table style="margin: 5px 0 0 20px;border: 0px">
|
|
|
48 |
<tbody>
|
|
|
49 |
<tr>
|
|
|
50 |
<th>{{#str}}notification_instance_name, mod_bigbluebuttonbn{{/str}}</th>
|
|
|
51 |
<td>name</td>
|
|
|
52 |
</tr>
|
|
|
53 |
<tr>
|
|
|
54 |
<th>{{#str}}notification_instance_description, mod_bigbluebuttonbn{{/str}}</th>
|
|
|
55 |
<td>{{{description}}}</td>
|
|
|
56 |
</tr>
|
|
|
57 |
{{#openingtime}}
|
|
|
58 |
<tr>
|
|
|
59 |
<th>{{#str}}notification_instance_start_date, mod_bigbluebuttonbn{{/str}}</th>
|
|
|
60 |
<td>{{#userdate}} {{openingtime}} , {{#str}}strftimedatetime, langconfig{{/str}} {{/userdate}} </td>
|
|
|
61 |
</tr>
|
|
|
62 |
{{/openingtime}}
|
|
|
63 |
{{#closingtime}}
|
|
|
64 |
<tr>
|
|
|
65 |
<th>{{#str}}notification_instance_end_date, mod_bigbluebuttonbn{{/str}}</th>
|
|
|
66 |
<td>{{#userdate}} {{closingtime}} , {{#str}}strftimedatetime, langconfig{{/str}} {{/userdate}} </td>
|
|
|
67 |
</tr>
|
|
|
68 |
{{/closingtime}}
|
|
|
69 |
</tbody>
|
|
|
70 |
</table>
|