{% extends "base.html" %} {% load url from future %} {% load compress %} {% block title %} Search Results {% endblock %} {% block pagestyle %} {% compress css %} {% endcompress %} {% endblock %} {% block pagescripts %} {% compress js %} {% endcompress %} {% endblock %} {% block raw_content %} {% if course %} See all notes for {{ course.name }} {% endif %} You searched for "{{ query }}" in {% if course %} {{ course.name }} {% else %} all notes {% endif %} {% if course %} {% else %} {% endif %} Sort By Date Added Popularity {% if object_list %} Date Popularity Preview {% for tuple in object_list %} {% include 'notes/note_list_entry.html' with note=tuple.0 note_preview=tuple.1 %} {% endfor %} {% else %} Sorry! No results were found. {% if error %} There was an error with your search. {% endif %} {% endif %} {% if has_prev %} Previous {% endif %} {% if has_next %} Next {% endif %} {% endblock %}