Link from conference list to trip pages
This commit is contained in:
parent
36168843d6
commit
31e8197c79
3 changed files with 19 additions and 5 deletions
|
|
@ -1,9 +1,9 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% from "macros.html" import conference_row with context %}
|
||||
{% from "macros.html" import trip_link, conference_row with context %}
|
||||
|
||||
{% block style %}
|
||||
{% set column_count = 6 %}
|
||||
{% set column_count = 7 %}
|
||||
<style>
|
||||
.grid-container {
|
||||
display: grid;
|
||||
|
|
@ -25,7 +25,10 @@
|
|||
{% macro section(heading, item_list, badge) %}
|
||||
{% if item_list %}
|
||||
<div class="heading"><h2>{{ heading }}</h2></div>
|
||||
{% for item in item_list %}{{ conference_row(item, badge) }}{% endfor %}
|
||||
{% for item in item_list %}
|
||||
{{ conference_row(item, badge) }}
|
||||
<div class="grid-item">{% if item.trip %} trip: {{ trip_link(item.trip) }} {% endif %}</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue