24 | 25 | $Headline 26 |27 | |
28 |
29 | 30 | $Total items 31 |32 | |
33 |
34 |
├── _config.php ├── templates └── Includes │ ├── raw │ ├── ContentNotifierEmailItem_RAW.ss │ └── ContentNotifierEmail_RAW.ss │ ├── ContentNotifierEmailItem.ss │ └── ContentNotifierEmail.ss ├── code-of-conduct.md ├── src ├── ContentNotifier.php ├── Admin │ └── ContentNotifierAdmin.php ├── Tasks │ ├── ContentNotifierTask.php │ └── ContentNotifierCleanTask.php ├── Model │ ├── ContentNotifierEmail.php │ └── ContentNotifierQueue.php └── Extensions │ └── ContentNotifierExtension.php ├── _config └── config.yml ├── .upgrade.yml ├── .editorconfig ├── composer.json ├── license.md └── README.md /_config.php: -------------------------------------------------------------------------------- 1 | $ContentNotifierHeadline 2 |
$ContentNotifierExcerpt
-------------------------------------------------------------------------------- /code-of-conduct.md: -------------------------------------------------------------------------------- 1 | When having discussions about this module in issues or pull request please adhere to the [SilverStripe Community Code of Conduct](https://docs.silverstripe.org/en/contributing/code_of_conduct). 2 | -------------------------------------------------------------------------------- /src/ContentNotifier.php: -------------------------------------------------------------------------------- 1 | array( 12 | 'title' => 'Notifications' 13 | ) 14 | ); 15 | 16 | private static $menu_title = 'Content Notifications'; 17 | 18 | private static $url_segment = 'content-notifications'; 19 | } 20 | -------------------------------------------------------------------------------- /.upgrade.yml: -------------------------------------------------------------------------------- 1 | mappings: 2 | ContentNotifier: SilverStripe\ContentNotifier\ContentNotifier 3 | ContentNotifierAdmin: SilverStripe\ContentNotifier\Admin\ContentNotifierAdmin 4 | ContentNotifierExtension: SilverStripe\ContentNotifier\Extensions\ContentNotifierExtension 5 | ContentNotifierEmail: SilverStripe\ContentNotifier\Model\ContentNotifierEmail 6 | ContentNotifierQueue: SilverStripe\ContentNotifier\Model\ContentNotifierQueue 7 | ContentNotifierCleanTask: SilverStripe\ContentNotifier\Tasks\ContentNotifierCleanTask 8 | ContentNotifierTask: SilverStripe\ContentNotifier\Tasks\ContentNotifierTask 9 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # For more information about the properties used in 2 | # this file, please see the EditorConfig documentation: 3 | # http://editorconfig.org/ 4 | 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | indent_size = 4 9 | indent_style = space 10 | insert_final_newline = true 11 | trim_trailing_whitespace = true 12 | 13 | [*.md] 14 | trim_trailing_whitespace = false 15 | 16 | [*.yml] 17 | indent_size = 2 18 | 19 | [{.travis.yml,package.json}] 20 | # The indent size used in the `package.json` file cannot be changed 21 | # https://github.com/npm/npm/pull/3180#issuecomment-16336516 22 | indent_size = 2 23 | -------------------------------------------------------------------------------- /templates/Includes/ContentNotifierEmailItem.ss: -------------------------------------------------------------------------------- 1 |8 | $ContentNotifierExcerpt 9 |
10 || 16 | | 17 |
18 |
19 |
20 |
21 |
37 |
38 |
39 |
|
40 | 41 | | 42 |
| 49 | | 50 |
51 |
52 |
53 |
54 | <% loop $GroupedItems %>
55 |
56 |
81 | <% end_loop %>
82 |
83 |
84 |
85 | 57 | $Category 58 |59 | 60 |
|
86 | 87 | | 88 |
| 95 | | 96 |
97 |
98 |
99 |
100 |
116 |
117 |
118 |
|
119 | 120 | | 121 |
| 232 | |
233 |
234 |
235 |
236 |
243 |
244 |
|
245 | 246 | |
| 253 | |
254 |
255 |
256 |
257 | <% loop $GroupedItems %>
258 |
259 |
278 | <% end_loop %>
279 |
280 | $Category260 |
|
281 | 282 | |
| 289 | |
290 |
291 |
292 |
293 |
303 |
304 |
|
305 | 306 | |