Skip to content

Commit

Permalink
Updated navbar links and speaker page headers (pybay#198)
Browse files Browse the repository at this point in the history
* added open spaces page link

* moved speakers page to top menu

* updated heading styles for consistency

* added trailing slash for consistency
  • Loading branch information
jttyeung authored and ccsv committed Feb 22, 2018
1 parent 7aff6f0 commit 377bb57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion pybay/templates/frontend/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,14 @@
<li class="inner-link">
<a class="inner-link" href="/">home</a>
</li>
<li>
<a class="inner-link" href="{% url 'pybay_speakers_list' %}">Speakers</a>
</li>
<li>
<ul>
<li><a class="inner-link" href="{% url 'pybay_schedule' %}">Conference schedule</a></li>
<li><a class="inner-link" href="{% url 'pybay_speakers_list' %}">Speakers</a></li>
<li><a class="inner-link" href="/pre-conference-workshops/" >Pre-conference workshops</a></li>
<li><a class="inner-link" href="/open-spaces/" >Open Spaces</a></li>
</ul>
<a class="inner-link" href="{% url 'pybay_schedule' %}">Schedule</a>
</li>
Expand Down
10 changes: 5 additions & 5 deletions pybay/templates/frontend/speakers_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
{% load markup_tags %}

{% block content %}
<section>
<section class="code_of_conduct">
<div class="container">
<div class="col-md-12 no-padding clearfix">
<div class="page-header pull-left">
<h1>All Speakers</h1>
<div class="blue-header">
<h1><strong>All Speakers</strong></h1>
</div>
</div><!-- /.col-md-12 -->

{% for chunk in chunks %}
<div class="row speaker-list-row">
{% for speaker in chunk %}
<div class="col-md-6">
<img width=200 src="{% speaker_url_with_fallback speaker 200 %}" alt="{{ speaker.name }}">
<h2><a href="{% url 'pybay_speakers_detail' speaker.name_slug %}">{{ speaker.name }}</a></h2>
<h2><strong><a href="{% url 'pybay_speakers_detail' speaker.name_slug %}">{{ speaker.name }}</a></strong></h2>
<span>{{ speaker.biography|apply_markup:"markdown"|truncatewords_html:"40" }}</span>
</div>
{% endfor %}
Expand Down

0 comments on commit 377bb57

Please sign in to comment.