~mhall119/summit/new-meeting-stuff

« back to all changes in this revision

Viewing changes to summit/schedule/templates/schedule/daily.html

  • Committer: Tarmac
  • Author(s): Chris Johnston
  • Date: 2012-03-05 01:31:32 UTC
  • mfrom: (295.2.1 925815)
  • Revision ID: tarmac@nigelb.me-20120305013132-u4elqu3t02sjfk6j
[r=mhall119] Removes QR img if summit.qr does not exist. Removes QR code on mobile devices

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        text-align: center;
107
107
        margin: 0;
108
108
    }
 
109
    div.schedule-head .schedule-qrcode { display: none; }
109
110
    div.schedule-head .schedule-date a {
110
111
        display: block;
111
112
        float: right;
167
168
<article class="main-content">
168
169
 
169
170
<div class="schedule-head">
 
171
{% if summit.qr %}
170
172
<img class="schedule-qrcode" src="{{summit.qr}}" />
 
173
{% endif %}
171
174
<span class="schedule-date"><a href="{% url summit.schedule.views.daily_schedule summit.name previousday|date:"Y-m-d" %}{% if is_popup %}?_popup=1{% endif %}" target="_self">&lt;</a> {{ viewdate.date|strftime:"%A" }} <a href="{% url summit.schedule.views.daily_schedule summit.name nextday|date:"Y-m-d" %}{% if is_popup %}?_popup=1{% endif %}" target="_self">&gt;</a></span>
172
175
 
173
176
{% if schedule.crew %}