Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h2 class="module-title">More from the school</h2>
<li class="item half" data-id="{{ item.id }}">
<div class="inner">
<a href="{% pageurl item %}">
<div class="image">{% image item.specific.feed_image width-464 %}</div>
<div class="image">{% image item.specific.feed_image width-928 %}</div>
<div class="content">
<h3 class="h6">{{ item.title }}</h3>
<p class="bc4">{{ item.specific.listing_intro }}</p>
Expand All @@ -22,7 +22,7 @@ <h3 class="h6">{{ item.title }}</h3>
<li class="item double" data-id="{{ item.id }}">
<div class="inner">
<a href="{% pageurl item %}">
<div class="image">{% image item.specific.feed_image width-304 %}</div>
<div class="image">{% image item.specific.feed_image width-608 %}</div>
<div class="content">
<h3 class="h6">{{ item.title }}</h3>
<p class="a0">
Expand All @@ -44,7 +44,7 @@ <h3 class="h6">{{ item.title }}</h3>
<li class="item double" data-id="{{ item.id }}">
<div class="inner">
<a href="{% pageurl item %}">
<div class="image">{% image item.specific.feed_image width-304 %}</div>
<div class="image">{% image item.specific.feed_image width-608 %}</div>
<div class="content">
<h3 class="h6">{{ item.title }}</h3>
<p class="a0">
Expand All @@ -71,7 +71,7 @@ <h3 class="h6">{{ item.title }}</h3>
<li class="item double" data-id="{{ item.id }}">
<div class="inner">
<a href="{% pageurl item %}">
<div class="image">{% image item.specific.feed_image width-304 %}</div>
<div class="image">{% image item.specific.feed_image width-608 %}</div>
<div class="content">
<h3 class="h6">{{ item.title }}</h3>
<p class="a0">{{ item.author }}</p>
Expand All @@ -90,7 +90,7 @@ <h3 class="h6">{{ item.title }}</h3>
<li class="item single" data-id="{{ item.id }}">
<div class="inner">
<a href="{% pageurl item %}">
<div class="image">{% image item.specific.feed_image width-304 %}</div>
<div class="image">{% image item.specific.feed_image width-608 %}</div>
<div class="content">
<h3 class="h6">{{ item.title }}</h3>
{% if item.is_student_story %}
Expand All @@ -106,7 +106,7 @@ <h3 class="h6">{{ item.title }}</h3>
<li class="item half" data-id="{{ item.id }}">
<div class="inner">
<a href="{% pageurl item %}">
<div class="image">{% image item.specific.feed_image width-304 %}</div>
<div class="image">{% image item.specific.feed_image width-608 %}</div>
<div class="content">
<h3 class="h6">{{ item.title }}</h3>
<p class="a2">Lightbox gallery page</p>
Expand All @@ -119,4 +119,4 @@ <h3 class="h6">{{ item.title }}</h3>
<li class="stamp load-more"><a href="#">+</a></li>
</ul>
</div>
</section>
</section>
6 changes: 3 additions & 3 deletions django-verdant/rca/templates/rca/school_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2 class="module-title offset-title">About the school</h2>
<a href="{% pageurl self.head_of_school %}">
<div class="image">
{% if self.head_of_school.profile_image %}
{% image self.head_of_school.profile_image width-200 %}
{% image self.head_of_school.profile_image width-400 %}
{% else %}
<img src="/static/rca/images/staff-default-image.png" width="200">
{% endif %}
Expand Down Expand Up @@ -114,9 +114,9 @@ <h3>Contact</h3>
{% include "rca/includes/modules/contact_snippet.html" with hide_title=True %}
</div>
</div>

{% endif %}

</div>
</section>
{% endif %}
Expand Down