Make name a link to conference web site
This commit is contained in:
parent
824285a4cf
commit
b1139b79d2
|
@ -1,7 +1,7 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block style %}
|
{% block style %}
|
||||||
{% set column_count = 7 %}
|
{% set column_count = 6 %}
|
||||||
<style>
|
<style>
|
||||||
.grid-container {
|
.grid-container {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
@ -24,7 +24,12 @@
|
||||||
{% set country = get_country(item.country) if item.country else None %}
|
{% set country = get_country(item.country) if item.country else None %}
|
||||||
<div class="grid-item text-end">{{ item.start.strftime("%a, %d %b %Y") }}</div>
|
<div class="grid-item text-end">{{ item.start.strftime("%a, %d %b %Y") }}</div>
|
||||||
<div class="grid-item text-end">{{ item.end.strftime("%a, %d %b") }}</div>
|
<div class="grid-item text-end">{{ item.end.strftime("%a, %d %b") }}</div>
|
||||||
<div class="grid-item">{{ item.name }}
|
<div class="grid-item">
|
||||||
|
{% if item.url %}
|
||||||
|
<a href="{{ item.url }}">{{ item.name }}</a>
|
||||||
|
{% else %}
|
||||||
|
{{ item.name }}
|
||||||
|
{% endif %}
|
||||||
{% if item.going and not (item.accommodation_booked or item.travel_booked) %}
|
{% if item.going and not (item.accommodation_booked or item.travel_booked) %}
|
||||||
<span class="badge text-bg-primary">
|
<span class="badge text-bg-primary">
|
||||||
{{ badge }}
|
{{ badge }}
|
||||||
|
@ -50,7 +55,6 @@
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-item"><a href="{{ item.url }}">{{ item.url }}</a></div>
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro section(heading, item_list, badge) %}
|
{% macro section(heading, item_list, badge) %}
|
||||||
|
|
Loading…
Reference in a new issue