Skip to content

Commit e0cedd6

Browse files
Merge pull request #112 from Alvinn8/alvin/application-count
Show the amount of applications when filtering groups
2 parents 64e9fbe + 6ea2b34 commit e0cedd6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/haj_web/live/applications_live/index.html.heex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@
4444
</.link>
4545
</.form>
4646

47+
<small class="mt-2 text-sm font-normal text-gray-500">
48+
Visar <%= length(@applications) %> <%= if length(@applications) == 1,
49+
do: "ansökan",
50+
else: "ansökningar" %>
51+
</small>
52+
4753
<.table
4854
small
4955
id="applicaiton_table"

0 commit comments

Comments
 (0)