File tree Expand file tree Collapse file tree 2 files changed +0
-64
lines changed
cfgov/v1/jinja2/v1/events Expand file tree Collapse file tree 2 files changed +0
-64
lines changed Original file line number Diff line number Diff line change @@ -243,63 +243,3 @@ <h2>Agenda</h2>
243
243
</ table >
244
244
</ div>
245
245
{% endmacro %}
246
-
247
- {# ==========================================================================
248
-
249
- event_media()
250
-
251
- ==========================================================================
252
-
253
- Description:
254
-
255
- Create event archive media markup when given:
256
-
257
- event: An event from a query result.
258
-
259
- ========================================================================== #}
260
-
261
- {% macro event_media( event ) %}
262
- {% set col_classes = 'content-l_col
263
- content-l_col-1-2
264
- block
265
- block__padded-top
266
- block__flush-top
267
- block__flush-bottom'
268
- %}
269
-
270
- {% if event.speech_transcript or event.video_transcript or event.flickr_url %}
271
- < div class ="block block__border-top block__padded-top ">
272
- {% if event.flickr_url %}
273
- < p >
274
- < h4 > Photography</ h4 >
275
- < a class ="a-link
276
- a-link__jump
277
- a-link__external-link "
278
- href ="{{ event.flickr_url }} ">
279
- See the album for the event
280
- </ a >
281
- </ p >
282
- {% endif %}
283
- {% if event.speech_transcript %}
284
- < p >
285
- < h4 > Speech text</ h4 >
286
- < a href ="{{ event.speech_transcript.url }} "
287
- class ="a-link
288
- a-link__jump ">
289
- Download speech
290
- </ a >
291
- </ p >
292
- {% endif %}
293
- {% if event.video_transcript %}
294
- < p >
295
- < h4 > Video transcript</ h4 >
296
- < a href ="{{ event.video_transcript.url }} "
297
- class ="a-link
298
- a-link__jump ">
299
- Download transcript
300
- </ a >
301
- </ p >
302
- {% endif %}
303
- </ div >
304
- {% endif %}
305
- {% endmacro %}
Original file line number Diff line number Diff line change 24
24
25
25
{% block content_main %}
26
26
{% include 'v1/events/_event-detail.html' %}
27
- {% from 'v1/events/_macros.html' import event_media as event_media with context %}
28
- {% if event_state and event_state != 'future' %}
29
- {{ event_media(page) }}
30
- {% endif %}
31
27
32
28
{% if page.agenda_items %}
33
29
{% from 'v1/events/_macros.html' import event_agenda as event_agenda with context%}
You can’t perform that action at this time.
0 commit comments