Skip to content

Commit

Permalink
Merge pull request #123 from jovandeginste/pill-click
Browse files Browse the repository at this point in the history
Make the whole pill containing the username clickable
  • Loading branch information
jovandeginste committed Apr 17, 2024
2 parents a3ebd2c + 2928564 commit 880a7f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views/user/user_show.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ <h3 class="{{ IconFor `users` }}">{{ i18n "Other users" }}</h3>

<div class="sm:flex sm:flex-wrap gap-5">
{{ range .users }} {{ if ne .ID $.user.ID }}
<span class="user-pill">
<a href="{{ RouteFor `user-show` .ID }}">{{ .Name }}</a>
</span>
<a href="{{ RouteFor `user-show` .ID }}"
><span class="user-pill"> {{ .Name }} </span></a
>
{{ end }} {{ end }}
</div>
</div>
Expand Down

0 comments on commit 880a7f1

Please sign in to comment.