search.jinja 591 Bytes
Newer Older
Skia's avatar
Skia committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
{% extends "core/base.jinja" %}

{% from "core/macros.jinja" import user_link_with_pict %}

{% block title %}
    {% trans %}Search result{% endtrans %}
{% endblock %}

{% block content %}
    <h4>{% trans %}Users{% endtrans %}</h4>
    <ul>
    {% for i in result.users %}
        <li>
        {{ user_link_with_pict(i) }}
        </li>
    {% endfor %}
    </ul>
    <h4>{% trans %}Clubs{% endtrans %}</h4>
    <ul>
    {% for i in result.clubs %}
        <li>
        <a href="{{ url("club:club_view", club_id=i.id) }}">{{ i }}</a>
        </li>
    {% endfor %}
    </ul>
{% endblock %}