Browse Source

Fix template syntax error in event page

Vince Salvino 2 years ago
parent
commit
4f77844616

+ 1 - 1
coderedcms/templates/coderedcms/blocks/content_wall_block.html

@@ -1,7 +1,7 @@
 <div class="modal fade content-wall {{self.settings.custom_css_class}}" tabindex="-1" role="dialog" data-cr-wall-id="{{self.content_wall.id}}"
   {% if not self.content_wall.is_dismissible %}data-bs-backdrop="static" data-bs-keyboard="false"{% endif %}
   {% if self.content_wall.show_once %} data-cr-wall-showonce="true" {% endif %}
-  {% if self.settings.custom_id %}id="{{self.settings.custom_id}}"{% endif %} >
+  {% if self.settings.custom_id %}id="{{self.settings.custom_id}}"{% endif %}>
   <div class="modal-dialog modal-lg" role="document">
     <div class="modal-content">
       {% if self.content_wall.is_dismissible %}

+ 4 - 4
coderedcms/templates/coderedcms/pages/event_page.html

@@ -8,8 +8,9 @@
   {% if self.address %}
   <p class="d-md-inline-block me-4"><b>Where:</b> {{self.address}}</p>
   {% endif %}
-  <div class="float-lg-end">{% include "coderedcms/includes/ical/single_ical_button.html" with event=self
-    start=nextup.0 end=nextup.1 %}</div>
+  <div class="float-lg-end">
+    {% include "coderedcms/includes/ical/single_ical_button.html" with event=self start=nextup.0 end=nextup.1 %}
+  </div>
   <hr>
 </div>
 {% endwith %}
@@ -40,8 +41,7 @@
       <tr>
         <td>{{date.0}}</td>
         <td>{% if date.0 != date.1 %}{{date.1}}{% endif %}</td>
-        <td>{% include "coderedcms/includes/ical/single_ical_button.html" with event=self start=date.0 end=date.1 %}
-        </td>
+        <td>{% include "coderedcms/includes/ical/single_ical_button.html" with event=self start=date.0 end=date.1 %}</td>
       </tr>
       {% endfor %}
     </table>