mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-75148 mod_data: Add missing template (adv search)
While covering is_directory_a_preset() with PHPUnit tests, it has been identified that there was a missing file in the Image gallery preset. The template will be reviewed in the future (in a separate issue) but, for now, I'm going to add the default template for advanced search.
This commit is contained in:
parent
417d1b918b
commit
abeae6acb2
12
mod/data/preset/imagegallery/asearchtemplate.html
Normal file
12
mod/data/preset/imagegallery/asearchtemplate.html
Normal file
@ -0,0 +1,12 @@
|
||||
<div class="defaulttemplate"><table class="mod-data-default-template">
|
||||
<tbody><tr class="r0">
|
||||
<td class="template-field cell c0">Title: </td>
|
||||
<td class="template-token cell c1 lastcol">[[title]]</td>
|
||||
</tr>
|
||||
<tr class="r1">
|
||||
<td class="template-field cell c0">Caption: </td>
|
||||
<td class="template-token cell c1 lastcol">[[caption]]</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user