remove extra row
authorSarah Conway <sarahwiz210@yahoo.com>
Sat, 29 Jul 2017 23:51:24 +0000 (16:51 -0700)
committerGitHub <noreply@github.com>
Sat, 29 Jul 2017 23:51:24 +0000 (16:51 -0700)
templates/confreg/schedule.html

index a5bbe6edeb4bf23603a53bded93bf40cfaf5bbff..4659a2a041c21bce6b6f017eca81345327f60cfe 100644 (file)
@@ -60,37 +60,35 @@ changes occur.
       <div class="container">
          <hr>
          <h2>{{day.day|datetimeformat("%A, %B %d")}}</h2>
-         <div class="row">
-            {%for room in day.rooms%}
-                  <section class="box">
-                     <h4 style="text-align:center;"><div class="sessblock roomheader">{{room.name}}</div></h4>
-                     <hr>
-                     {%for session in day.sessions%}
-                     {%if session.leftpos == room.leftpos or session.widthpos == 1198 %}
-                        {%if session.id%}
-               <div class="col-sm-4">
-                           <div class="sessblock track{{session.track.id}}" style="height: 120px; width: {{session.widthpos}}"><p>
-               </div>
-                           {%else%}
-               <div class="row"><div class="col-sm-12">
-                           <div class="sessblock track{{session.track.id}}" style="height: 20px;">
-                              <p>
-                                 {%endif%}
-                                 {%if session.id%}
-                                    <a href="session/{{session.id}}-{{session.title|slugify}}/">{{session.timeslot}}<br/><b>{{session.title}}</b><br/></a>
-                                    {%else%}
-                                    {{session.timeslot}} - <b>{{session.title}}</b>
-                                 {%endif%}
-                                 {%for speaker in session.speakers %}{%if loop.first%}{%else%}, {%endif%}<i><a href="speaker/{{speaker.id}}-{{speaker.name|slugify}}/">{{speaker.name}}</a></i>{%endfor%}
-                              </p>
-                           </div>
-                </div></div>
-                           <hr>
-                        {%endif%}
-                     {%endfor%}
-                  </section>
-            {%endfor%}
-         </div>
+         {%for room in day.rooms%}
+               <section class="box">
+                  <h4 style="text-align:center;"><div class="sessblock roomheader">{{room.name}}</div></h4>
+                  <hr>
+                  {%for session in day.sessions%}
+                  {%if session.leftpos == room.leftpos or session.widthpos == 1198 %}
+                     {%if session.id%}
+            <div class="col-sm-4">
+                        <div class="sessblock track{{session.track.id}}" style="height: 120px; width: {{session.widthpos}}"><p>
+            </div>
+                        {%else%}
+            <div class="row"><div class="col-sm-12">
+                        <div class="sessblock track{{session.track.id}}" style="height: 20px;">
+                           <p>
+                              {%endif%}
+                              {%if session.id%}
+                                 <a href="session/{{session.id}}-{{session.title|slugify}}/">{{session.timeslot}}<br/><b>{{session.title}}</b><br/></a>
+                                 {%else%}
+                                 {{session.timeslot}} - <b>{{session.title}}</b>
+                              {%endif%}
+                              {%for speaker in session.speakers %}{%if loop.first%}{%else%}, {%endif%}<i><a href="speaker/{{speaker.id}}-{{speaker.name|slugify}}/">{{speaker.name}}</a></i>{%endfor%}
+                           </p>
+                        </div>
+             </div></div>
+                        <hr>
+                     {%endif%}
+                  {%endfor%}
+               </section>
+         {%endfor%}
       </div>
    </section>
 {%endfor%}