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_forum/forum_discussion_post
|
|
|
19 |
|
|
|
20 |
Template to render a single post from a discussion.
|
|
|
21 |
|
|
|
22 |
Classes required for JS:
|
|
|
23 |
* none
|
|
|
24 |
|
|
|
25 |
Data attributes required for JS:
|
|
|
26 |
* none
|
|
|
27 |
|
|
|
28 |
Example context (json):
|
|
|
29 |
{
|
|
|
30 |
}
|
|
|
31 |
}}
|
|
|
32 |
<article
|
|
|
33 |
id="p{{id}}"
|
|
|
34 |
class="forum-post-container my-2"
|
|
|
35 |
data-post-id="{{id}}"
|
|
|
36 |
data-region="post"
|
|
|
37 |
data-target="{{id}}-target"
|
|
|
38 |
tabindex="0"
|
|
|
39 |
aria-labelledby="post-header-{{id}}-{{uniqid}}"
|
|
|
40 |
aria-describedby="post-content-{{id}}"
|
|
|
41 |
>
|
|
|
42 |
{{! The firstpost and starter classes below aren't used for anything other than to identify the first post in behat. }}
|
|
|
43 |
<div
|
|
|
44 |
class="position-relative mb-2 forum-post focus-target {{#unread}}unread{{/unread}} {{#firstpost}}firstpost starter{{/firstpost}}"
|
|
|
45 |
aria-label='{{#str}} postbyuser, mod_forum, {"post": "{{subject}}", "user": "{{author.fullname}}"} {{/str}}'
|
|
|
46 |
data-post-id="{{id}}" data-content="forum-post"
|
|
|
47 |
>
|
|
|
48 |
{{#isfirstunread}}<a id="unread" aria-hidden="true"></a>{{/isfirstunread}}
|
|
|
49 |
|
|
|
50 |
{{^isdeleted}}
|
|
|
51 |
{{#author}}
|
|
|
52 |
|
|
|
53 |
{{#groups}}
|
|
|
54 |
{{#urls.group}}
|
|
|
55 |
<div class="mb-2 ml-auto d-flex justify-content-end align-items-end">
|
|
|
56 |
{{#urls.image}}
|
|
|
57 |
<a href="{{urls.group}}" class="badge badge-link badge-light" role="button" aria-label="{{#str}} memberofgroup, group, {{name}}{{/str}}" title="{{#str}} memberofgroup, group, {{name}}{{/str}}">
|
|
|
58 |
<img
|
|
|
59 |
class="rounded icon mr-1"
|
|
|
60 |
src="{{{.}}}"
|
|
|
61 |
alt="{{#str}} pictureof, core, {{name}} {{/str}}"
|
|
|
62 |
aria-hidden="true"
|
|
|
63 |
title="{{#str}} pictureof, core, {{name}} {{/str}}"
|
|
|
64 |
>
|
|
|
65 |
<span class="group-name">{{name}}</span>
|
|
|
66 |
</a>
|
|
|
67 |
{{/urls.image}}
|
|
|
68 |
{{/urls.group}}
|
|
|
69 |
{{^urls.group}}
|
|
|
70 |
|
|
|
71 |
{{#urls.image}}
|
|
|
72 |
<div class="badge badge-info">
|
|
|
73 |
<img class="rounded icon mr-3"
|
|
|
74 |
src="{{{.}}}"
|
|
|
75 |
alt="{{#str}} pictureof, core, {{name}} {{/str}}"
|
|
|
76 |
title="{{#str}} pictureof, core, {{name}} {{/str}}"
|
|
|
77 |
>
|
|
|
78 |
<span>{{#str}} pictureof, core, {{name}} {{/str}}</span>
|
|
|
79 |
</div>
|
|
|
80 |
{{/urls.image}}
|
|
|
81 |
|
|
|
82 |
{{/urls.group}}
|
|
|
83 |
</div>
|
|
|
84 |
{{/groups}}
|
|
|
85 |
|
|
|
86 |
{{/author}}
|
|
|
87 |
{{/isdeleted}}
|
|
|
88 |
|
|
|
89 |
<div class="d-flex flex-column w-100" data-region-content="forum-post-core">
|
|
|
90 |
<header id="post-header-{{id}}-{{uniqid}}" class="mb-2 pb-2 forum-post-header d-flex align-items-center">
|
|
|
91 |
{{^isdeleted}}
|
|
|
92 |
{{#author}}
|
|
|
93 |
<div class="mb-0 mr-3" style="width: 60px;">
|
|
|
94 |
{{#urls.profileimage}}
|
|
|
95 |
<img
|
|
|
96 |
class="rounded w-100"
|
|
|
97 |
src="{{{.}}}"
|
|
|
98 |
alt="{{#str}} pictureof, core, {{author.fullname}} {{/str}}"
|
|
|
99 |
aria-hidden="true"
|
|
|
100 |
title="{{#str}} pictureof, core, {{author.fullname}} {{/str}}"
|
|
|
101 |
>
|
|
|
102 |
{{/urls.profileimage}}
|
|
|
103 |
</div>
|
|
|
104 |
{{/author}}
|
|
|
105 |
{{/isdeleted}}
|
|
|
106 |
<div class="d-flex flex-column">
|
|
|
107 |
{{#parentauthorname}}
|
|
|
108 |
<span class="sr-only">{{#str}} inreplyto, mod_forum, {{.}} {{/str}}</span>
|
|
|
109 |
{{/parentauthorname}}
|
|
|
110 |
{{$subjectheading}}
|
|
|
111 |
{{#subject}}
|
|
|
112 |
<div {{!
|
|
|
113 |
}}class="{{#unread}}forum-post-unread font-weight-bold{{/unread}} forum-post-core-subject" {{!
|
|
|
114 |
}}data-region-content="forum-post-core-subject" {{!
|
|
|
115 |
}}data-reply-subject="{{replysubject}}" {{!
|
|
|
116 |
}}>
|
|
|
117 |
|
|
|
118 |
{{$subject}}<h5 class="my-0" title="{{{subject}}}"><span class="d-inline-block text-truncate font-weight-bold" style="max-width: 600px;" title="{{subject}}">{{{subject}}}</span></h5>{{/subject}}
|
|
|
119 |
|
|
|
120 |
</div>
|
|
|
121 |
{{/subject}}
|
|
|
122 |
{{/subjectheading}}
|
|
|
123 |
{{^isdeleted}}
|
|
|
124 |
<div class="forum-post-details" tabindex="-1">
|
|
|
125 |
{{#html.authorsubheading}}{{{.}}}{{/html.authorsubheading}}
|
|
|
126 |
{{^html.authorsubheading}}
|
|
|
127 |
{{< core/time_element }}
|
|
|
128 |
{{$elementid}}created-{{id}}-{{uniqid}}{{/elementid}}
|
|
|
129 |
{{$timestampval}}{{timecreated}}{{/timestampval}}
|
|
|
130 |
{{$userdateformatval}}{{#str}} strftimedaydatetime, core_langconfig {{/str}}{{/userdateformatval}}
|
|
|
131 |
{{/core/time_element}}
|
|
|
132 |
{{/html.authorsubheading}}
|
|
|
133 |
</div>
|
|
|
134 |
{{/isdeleted}}
|
|
|
135 |
{{#isprivatereply}}
|
|
|
136 |
<div class="privatereplyinfo badge badge-dark mt-1">
|
|
|
137 |
{{#str}}postisprivatereply, forum{{/str}}
|
|
|
138 |
</div>
|
|
|
139 |
{{/isprivatereply}}
|
|
|
140 |
{{#hasreplycount}}
|
|
|
141 |
<span class="sr-only">{{#str}} numberofreplies, mod_forum, {{replycount}} {{/str}}</span>
|
|
|
142 |
{{/hasreplycount}}
|
|
|
143 |
</div>
|
|
|
144 |
</header>
|
|
|
145 |
|
|
|
146 |
<div class="d-flex body-content-container">
|
|
|
147 |
<div class="mr-3 d-sm-none d-md-block" style="width: 60px; flex-shrink: 0"></div>
|
|
|
148 |
<div class="w-100 content-alignment-container">
|
|
|
149 |
<div id="post-content-{{id}}" class="post-content-container mb-2">
|
|
|
150 |
{{{message}}}
|
|
|
151 |
</div>
|
|
|
152 |
|
|
|
153 |
{{^isdeleted}}
|
|
|
154 |
{{#haswordcount}}
|
|
|
155 |
<p class="mt-3 mb-0 badge badge-info"><small>{{#str}} numwords, core, {{wordcount}} {{/str}}</small></p>
|
|
|
156 |
{{/haswordcount}}
|
|
|
157 |
|
|
|
158 |
{{#attachments}}
|
|
|
159 |
{{#isimage}}
|
|
|
160 |
<div class="attachedimages">
|
|
|
161 |
<img
|
|
|
162 |
src="{{{url}}}"
|
|
|
163 |
alt="{{#str}} attachmentname, mod_forum, {{filename}} {{/str}}"
|
|
|
164 |
style="max-width: 100%"
|
|
|
165 |
>
|
|
|
166 |
{{#urls.export}}
|
|
|
167 |
<a href="{{{.}}}" title="{{#str}} addtoportfolio, core_portfolio {{/str}}">
|
|
|
168 |
{{#pix}} t/portfolioadd, core {{/pix}}
|
|
|
169 |
</a>
|
|
|
170 |
{{/urls.export}}
|
|
|
171 |
{{#html.plagiarism}}
|
|
|
172 |
<div>{{{.}}}</div>
|
|
|
173 |
{{/html.plagiarism}}
|
|
|
174 |
</div>
|
|
|
175 |
{{/isimage}}
|
|
|
176 |
{{/attachments}}
|
|
|
177 |
|
|
|
178 |
{{{html.taglist}}}
|
|
|
179 |
|
|
|
180 |
{{#attachments}}
|
|
|
181 |
{{^isimage}}
|
|
|
182 |
<div class="attachments">
|
|
|
183 |
<a
|
|
|
184 |
href="{{{url}}}"
|
|
|
185 |
aria-label="{{#str}} attachmentname, mod_forum, {{filename}} {{/str}}"
|
|
|
186 |
>
|
|
|
187 |
{{#pix}} {{icon}}, core {{/pix}} {{filename}}
|
|
|
188 |
</a>
|
|
|
189 |
{{#urls.export}}
|
|
|
190 |
<a href="{{{.}}}" title="{{#str}} exportattachmentname, mod_forum, {{filename}} {{/str}}">
|
|
|
191 |
{{#pix}} t/portfolioadd, core {{/pix}}
|
|
|
192 |
</a>
|
|
|
193 |
{{/urls.export}}
|
|
|
194 |
{{#html.plagiarism}}
|
|
|
195 |
<div>{{{.}}}</div>
|
|
|
196 |
{{/html.plagiarism}}
|
|
|
197 |
</div>
|
|
|
198 |
{{/isimage}}
|
|
|
199 |
{{/attachments}}
|
|
|
200 |
|
|
|
201 |
{{^readonly}}
|
|
|
202 |
<div class="d-flex flex-wrap">
|
|
|
203 |
{{#html.rating}}
|
|
|
204 |
<div class="mt-2 forum-post-rating">{{{.}}}</div>
|
|
|
205 |
{{/html.rating}}
|
|
|
206 |
{{$actions}}
|
|
|
207 |
<div
|
|
|
208 |
class="w-100 post-actions d-flex align-items-center justify-content-md-end justify-content-lg-start flex-wrap mx-0 mt-2 mb-0"
|
|
|
209 |
data-region="post-actions-container"
|
|
|
210 |
role="menubar"
|
|
|
211 |
aria-label='{{#str}} postbyuser, mod_forum, {"post": "{{subject}}", "user": "{{author.fullname}}"} {{/str}}'
|
|
|
212 |
aria-controls="p{{id}}"
|
|
|
213 |
>
|
|
|
214 |
{{#capabilities}}
|
|
|
215 |
|
|
|
216 |
{{#reply}}
|
|
|
217 |
<div class="mb-2">
|
|
|
218 |
{{$replyoutput}}
|
|
|
219 |
<a
|
|
|
220 |
data-region="post-action"
|
|
|
221 |
href="{{{urls.reply}}}"
|
|
|
222 |
class="btn btn-primary btn-sm"
|
|
|
223 |
data-post-id="{{id}}"
|
|
|
224 |
data-action="collapsible-link"
|
|
|
225 |
data-can-reply-privately="{{canreplyprivately}}"
|
|
|
226 |
title="{{#str}} reply, mod_forum {{/str}}"
|
|
|
227 |
aria-label="{{#str}} reply, mod_forum {{/str}}"
|
|
|
228 |
role="menuitem"
|
|
|
229 |
>
|
|
|
230 |
<svg width="18" height="18" fill="none" viewBox="0 0 24 24">
|
|
|
231 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.25 15.25V6.75H8.75"></path>
|
|
|
232 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 7L6.75 17.25"></path>
|
|
|
233 |
</svg>
|
|
|
234 |
<span class="d-none d-md-flex ml-md-2">{{#str}} reply, mod_forum {{/str}}</span>
|
|
|
235 |
</a>
|
|
|
236 |
{{/replyoutput}}
|
|
|
237 |
</div>
|
|
|
238 |
{{/reply}}
|
|
|
239 |
{{^reply}}
|
|
|
240 |
{{#selfenrol}}
|
|
|
241 |
{{$replyoutput}}
|
|
|
242 |
<a
|
|
|
243 |
href="{{{urls.reply}}}"
|
|
|
244 |
class="btn btn-primary btn-sm mb-2"
|
|
|
245 |
data-post-id="{{id}}"
|
|
|
246 |
data-can-reply-privately="{{canreplyprivately}}"
|
|
|
247 |
title="{{#str}} reply, mod_forum {{/str}}"
|
|
|
248 |
aria-label="{{#str}} reply, mod_forum {{/str}}"
|
|
|
249 |
role="menuitem"
|
|
|
250 |
>
|
|
|
251 |
{{#str}} reply, mod_forum {{/str}}
|
|
|
252 |
</a>
|
|
|
253 |
{{/replyoutput}}
|
|
|
254 |
{{/selfenrol}}
|
|
|
255 |
{{/reply}}
|
|
|
256 |
|
|
|
257 |
{{#edit}}
|
|
|
258 |
<div class="ml-2 mb-2 rui-forum-edit-buttons">
|
|
|
259 |
{{#controlreadstatus}}
|
|
|
260 |
{{#unread}}
|
|
|
261 |
<a
|
|
|
262 |
data-region="post-action"
|
|
|
263 |
href="{{{urls.markasread}}}"
|
|
|
264 |
class="btn btn-primary btn-sm mb-2"
|
|
|
265 |
role="menuitem"
|
|
|
266 |
title="{{#str}} markread, mod_forum {{/str}}"
|
|
|
267 |
aria-label="{{#str}} markread, mod_forum {{/str}}"
|
|
|
268 |
>
|
|
|
269 |
{{#str}} markread, mod_forum {{/str}}
|
|
|
270 |
</a>
|
|
|
271 |
{{/unread}}
|
|
|
272 |
{{^unread}}
|
|
|
273 |
<a
|
|
|
274 |
data-region="post-action"
|
|
|
275 |
href="{{{urls.markasunread}}}"
|
|
|
276 |
class="btn btn-secondary btn-sm mb-2"
|
|
|
277 |
role="menuitem"
|
|
|
278 |
title="{{#str}} markunread, mod_forum {{/str}}"
|
|
|
279 |
aria-label="{{#str}} markunread, mod_forum {{/str}}"
|
|
|
280 |
>
|
|
|
281 |
{{#str}} markunread, mod_forum {{/str}}
|
|
|
282 |
</a>
|
|
|
283 |
{{/unread}}
|
|
|
284 |
{{/controlreadstatus}}
|
|
|
285 |
|
|
|
286 |
{{#view}}
|
|
|
287 |
<a
|
|
|
288 |
data-region="post-action"
|
|
|
289 |
href="{{{urls.view}}}"
|
|
|
290 |
class="btn btn-secondary btn-sm"
|
|
|
291 |
title="{{#str}} permanentlinktopost, mod_forum {{/str}}"
|
|
|
292 |
aria-label="{{#str}} permanentlinktopost, mod_forum {{/str}}"
|
|
|
293 |
role="menuitem"
|
|
|
294 |
>
|
|
|
295 |
<svg width="18" height="18" fill="none" viewBox="0 0 24 24">
|
|
|
296 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16.75 13.25L18 12C19.6569 10.3431 19.6569 7.65685 18 6V6C16.3431 4.34315 13.6569 4.34315 12 6L10.75 7.25"></path>
|
|
|
297 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7.25 10.75L6 12C4.34315 13.6569 4.34315 16.3431 6 18V18C7.65685 19.6569 10.3431 19.6569 12 18L13.25 16.75"></path>
|
|
|
298 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.25 9.75L9.75 14.25"></path>
|
|
|
299 |
</svg>
|
|
|
300 |
<span class="d-none d-md-flex ml-md-2">{{#str}} permalink, mod_forum {{/str}}</span>
|
|
|
301 |
</a>
|
|
|
302 |
{{/view}}
|
|
|
303 |
|
|
|
304 |
{{#urls.viewparent}}
|
|
|
305 |
<a
|
|
|
306 |
data-region="post-action"
|
|
|
307 |
href="{{{.}}}"
|
|
|
308 |
class="btn btn-secondary btn-sm"
|
|
|
309 |
title="{{#str}} permanentlinktoparentpost, mod_forum {{/str}}"
|
|
|
310 |
aria-label="{{#str}} permanentlinktoparentpost, mod_forum {{/str}}"
|
|
|
311 |
role="menuitem"
|
|
|
312 |
>
|
|
|
313 |
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
314 |
<path d="M4.75 19.25H19.25" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
|
315 |
<path d="M12 15.25V4.75" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
|
316 |
<path d="M15.25 8.25L12 4.75L8.75 8.25" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
|
317 |
</svg>
|
|
|
318 |
<span class="d-none d-md-flex ml-md-2">{{#str}} parent, mod_forum {{/str}}</span>
|
|
|
319 |
</a>
|
|
|
320 |
{{/urls.viewparent}}
|
|
|
321 |
|
|
|
322 |
<a
|
|
|
323 |
data-region="post-action"
|
|
|
324 |
href="{{{urls.edit}}}"
|
|
|
325 |
class="btn btn-outline-secondary btn-sm"
|
|
|
326 |
role="menuitem"
|
|
|
327 |
title="{{#str}} edit, mod_forum {{/str}}"
|
|
|
328 |
aria-label="{{#str}} edit, mod_forum {{/str}}"
|
|
|
329 |
>
|
|
|
330 |
<svg width="18" height="18" fill="none" viewBox="0 0 24 24">
|
|
|
331 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.75 19.25L9 18.25L18.2929 8.95711C18.6834 8.56658 18.6834 7.93342 18.2929 7.54289L16.4571 5.70711C16.0666 5.31658 15.4334 5.31658 15.0429 5.70711L5.75 15L4.75 19.25Z"></path>
|
|
|
332 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.25 19.25H13.75"></path>
|
|
|
333 |
</svg>
|
|
|
334 |
<span class="d-none d-md-flex ml-md-2">{{#str}} edit, mod_forum {{/str}}</span>
|
|
|
335 |
</a>
|
|
|
336 |
{{/edit}}
|
|
|
337 |
|
|
|
338 |
{{#split}}
|
|
|
339 |
<a
|
|
|
340 |
data-region="post-action"
|
|
|
341 |
href="{{{urls.split}}}"
|
|
|
342 |
class="btn btn-outline-secondary btn-sm"
|
|
|
343 |
role="menuitem"
|
|
|
344 |
title="{{#str}} prune, mod_forum {{/str}}"
|
|
|
345 |
aria-label="{{#str}} prune, mod_forum {{/str}}"
|
|
|
346 |
>
|
|
|
347 |
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
348 |
<path d="M9.25 8C9.25 9.24264 8.24264 10.25 7 10.25C5.75736 10.25 4.75 9.24264 4.75 8C4.75 6.75736 5.75736 5.75 7 5.75C8.24264 5.75 9.25 6.75736 9.25 8Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
|
349 |
<path d="M9.25 16C9.25 17.2426 8.24264 18.25 7 18.25C5.75736 18.25 4.75 17.2426 4.75 16C4.75 14.7574 5.75736 13.75 7 13.75C8.24264 13.75 9.25 14.7574 9.25 16Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
|
350 |
<path d="M9 15L19.25 6.75" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
|
351 |
<path d="M9 9L19.25 16.25" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
|
352 |
</svg>
|
|
|
353 |
<span class="d-none d-md-flex ml-md-2">{{#str}} prune, mod_forum {{/str}}</span>
|
|
|
354 |
</a>
|
|
|
355 |
{{/split}}
|
|
|
356 |
{{#delete}}
|
|
|
357 |
<a
|
|
|
358 |
data-region="post-action"
|
|
|
359 |
href="{{{urls.delete}}}"
|
|
|
360 |
class="btn btn-outline-danger btn-sm btn-icon"
|
|
|
361 |
role="menuitem"
|
|
|
362 |
title="{{#str}} delete, mod_forum {{/str}}"
|
|
|
363 |
aria-label="{{#str}} delete, mod_forum {{/str}}"
|
|
|
364 |
>
|
|
|
365 |
<svg width="18" height="18" fill="none" viewBox="0 0 24 24">
|
|
|
366 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6.75 7.75L7.59115 17.4233C7.68102 18.4568 8.54622 19.25 9.58363 19.25H14.4164C15.4538 19.25 16.319 18.4568 16.4088 17.4233L17.25 7.75"></path>
|
|
|
367 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 7.5V6.75C9.75 5.64543 10.6454 4.75 11.75 4.75H12.25C13.3546 4.75 14.25 5.64543 14.25 6.75V7.5"></path>
|
|
|
368 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 7.75H19"></path>
|
|
|
369 |
</svg>
|
|
|
370 |
</a>
|
|
|
371 |
{{/delete}}
|
|
|
372 |
|
|
|
373 |
{{#edit}}
|
|
|
374 |
</div>
|
|
|
375 |
{{/edit}}
|
|
|
376 |
|
|
|
377 |
{{#export}}
|
|
|
378 |
<div class="ml-md-auto mb-2">
|
|
|
379 |
<a
|
|
|
380 |
data-region="post-action"
|
|
|
381 |
href="{{{urls.export}}}"
|
|
|
382 |
class="btn btn-secondary btn-sm"
|
|
|
383 |
title="{{#str}} addtoportfolio, core_portfolio {{/str}}"
|
|
|
384 |
aria-label="{{#str}} addtoportfolio, core_portfolio {{/str}}"
|
|
|
385 |
role="menuitem"
|
|
|
386 |
>
|
|
|
387 |
{{#str}} addtoportfolio, core_portfolio {{/str}}
|
|
|
388 |
</a>
|
|
|
389 |
</div>
|
|
|
390 |
{{/export}}
|
|
|
391 |
{{/capabilities}}
|
|
|
392 |
</div>
|
|
|
393 |
{{/actions}}
|
|
|
394 |
</div>
|
|
|
395 |
{{/readonly}}
|
|
|
396 |
|
|
|
397 |
<div class="forum-post-footer">{{$footer}}{{/footer}}</div>
|
|
|
398 |
{{/isdeleted}}
|
|
|
399 |
</div>
|
|
|
400 |
</div>
|
|
|
401 |
</div>
|
|
|
402 |
</div>
|
|
|
403 |
|
|
|
404 |
{{$replies}}
|
|
|
405 |
<div data-region="replies-container">
|
|
|
406 |
{{#hasreplies}}
|
|
|
407 |
{{#replies}}
|
|
|
408 |
{{> mod_forum/forum_discussion_post }}
|
|
|
409 |
{{/replies}}
|
|
|
410 |
{{/hasreplies}}
|
|
|
411 |
</div>
|
|
|
412 |
{{/replies}}
|
|
|
413 |
</article>
|