{% extends "base.html" %} {% load i18n %} {% block title %}{% trans 'Search result for' %} {{ query }} | {% trans 'Learning management system' %}{% endblock title %} {% load class_name %} {% block content %}
{{ count }} {% trans 'result' %}{{ count|pluralize }} {% trans 'for' %} {{ query }}

{% for object in object_list %} {% with object|class_name as klass %} {% if klass == "Program" %}
{% trans 'Program' %}

{{ object.title}}

{{ object.summary }}


{% elif klass == "Course" %}
{% trans 'Course' %}

{% trans 'Program of' %} {{ object.program }}

{{ object }}

{{ object.summary }}


{% elif klass == "NewsAndEvents" %}
{% trans 'News And Events' %}

{% trans 'Date:' %} {{ object.updated_date|timesince }} ago

{{ object.title }}

{{ object.summary }}


{% elif klass == "Quiz" %}
{% trans 'Quiz' %}

{{ object.category }} {% trans 'quiz' %}, {% trans 'Course:' %} {{ object.course }}

{{ object.title }}

{{ object.description }}


{% else %}
{% trans 'Program' %}
{{ object }} | {{ object|class_name }}

{{ object }} | {{ object|class_name }}

{{ object.description }}


{% endif %} {% endwith %} {% empty %}
{% trans 'Search by:' %}
  • {% trans 'Program' %} > {% trans 'Title or Description' %}
  • {% trans 'Course' %} >{% trans 'Title, Code or Description' %}
  • {% trans 'News And Events' %} > {% trans 'Title, Description or just by typing "news" or "event %}li>
  • {% trans 'Quiz' %} >{% trans 'Title, Description or Category(practice, assignment and exam)' %}
{% endfor %}
{% endblock content %}