aboutsummaryrefslogtreecommitdiff
path: root/templates/directory_results.html
blob: c7dd715e3b28435249b30d484abf5117a26dd17b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{if .Results}}
  {{range .Results}}
  <div class="card mt-4">
    <div class="card-body">
      <div class="float-right">
        {{if .ProfilePicture}}
          <a href="/picture/{{.ProfilePicture}}">
            <img src="/picture/{{.ProfilePicture}}-thumb"/>
          </a>
        {{else}}
        {{end}}
      </div>
      <h5 class="card-title">
        {{.DisplayName}}
        <code>{{.Id}}@</code>
      </h5>
      <p class="card-text">{{.Description}}</p>
    </div>
  </div>
  {{end}}
{{else}}
  Aucun résultat.
{{end}}