From f2d4d20e0906c89ac655b48f242c9f0bfa8b741c Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Wed, 27 Nov 2013 12:17:06 +0530 Subject: adding list of abstracts page --- website/templates/abstract_details.html | 21 +++++++++++++++++++++ website/templates/index.html | 1 + website/templates/list_abstracts.html | 18 ++++++++++++++++++ website/templates/page.html | 1 + 4 files changed, 41 insertions(+) create mode 100644 website/templates/abstract_details.html create mode 100644 website/templates/list_abstracts.html (limited to 'website/templates') diff --git a/website/templates/abstract_details.html b/website/templates/abstract_details.html new file mode 100644 index 0000000..4706d61 --- /dev/null +++ b/website/templates/abstract_details.html @@ -0,0 +1,21 @@ +{% extends 'page.html'%} +{% load static %} + +{% block breadcrumbs %} +
Speaker: {{ paper.user.first_name }} {{ paper.user.last_name }}
+Speaker Bio: {{ paper.bio }}
+Abstract: {{ paper.abstract }}
+Affiliation: {{ paper.affiliation }}
+Links: {{ paper.links }}
+ + +{% endblock %} diff --git a/website/templates/index.html b/website/templates/index.html index 2675c4f..b30a60e 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -51,6 +51,7 @@ diff --git a/website/templates/list_abstracts.html b/website/templates/list_abstracts.html new file mode 100644 index 0000000..4389d2d --- /dev/null +++ b/website/templates/list_abstracts.html @@ -0,0 +1,18 @@ +{% extends 'page.html'%} + +{% block breadcrumbs %} +Title + | Speaker +{% for paper in papers %} + |
---|---|
{{ paper.title }} | {{ paper.user.first_name }} {{ paper.user.last_name }} |
Affiliation: {{ paper.affiliation }}
Links: {{ paper.links }}
- + {% endblock %} -- cgit From 6454590501ae2a2186ff67bfc2429c6805879384 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Wed, 27 Nov 2013 12:49:28 +0530 Subject: resolving URL issue for abstracts --- website/templates/abstract_details.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'website/templates') diff --git a/website/templates/abstract_details.html b/website/templates/abstract_details.html index ff38076..558eb60 100644 --- a/website/templates/abstract_details.html +++ b/website/templates/abstract_details.html @@ -9,13 +9,14 @@ {% block content %}Speaker: {{ paper.user.first_name }} {{ paper.user.last_name }}
-Speaker Bio: {{ paper.bio }}
+{{ paper.user.first_name }} {{ paper.user.last_name }}
+{{ paper.bio }}
+Abstract:
Abstract: {{ paper.abstract }}
+{{ paper.abstract }}Affiliation: {{ paper.affiliation }}
+Affiliation: {{ paper.affiliation }}
Links: {{ paper.links }}
- + {% endblock %} -- cgit From 0d0d4b0bdfe3a0ee89b7fb5c067aae8cd6a4c020 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Wed, 27 Nov 2013 12:52:18 +0530 Subject: editing styles --- website/templates/abstract_details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/templates') diff --git a/website/templates/abstract_details.html b/website/templates/abstract_details.html index 558eb60..3abf02e 100644 --- a/website/templates/abstract_details.html +++ b/website/templates/abstract_details.html @@ -13,7 +13,7 @@{{ paper.bio }}
Abstract:
{{ paper.abstract }}
Affiliation: {{ paper.affiliation }}
Links: {{ paper.links }}
-- cgit