Skip to content

Commit 56ea86f

Browse files
committed
toil(front): zero state for project service accounts
1 parent 927237e commit 56ea86f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

front/lib/front_web/templates/people/members/members_list.html.eex

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<div class="flex items-center justify-between pa3 bb bw1 b--black-075 br3 br--top ">
5151
<div>
5252
<div class="flex items-center">
53-
<span class="material-symbols-outlined pr2">key</span>
53+
<span class="material-symbols-outlined pr2">smart_toy</span>
5454
<div class="b">Service Accounts</div>
5555
</div>
5656
</div>
@@ -63,6 +63,15 @@
6363
<%= @service_accounts |> Enum.map(fn (service_account) -> %>
6464
<%= render "members/_member.html", is_group?: false, is_service_account?: true, member: service_account, roles: @roles, org_scope?: @org_scope?, conn: @conn, permissions: @permissions %>
6565
<% end) %>
66+
<%= if Enum.empty?(@service_accounts) do %>
67+
<div class="pv5 tc">
68+
<img src="<%= image_source("ill-girl-showing-continue.svg") %>" alt="girl pointing to the left" class="mb3">
69+
<h3 class="f4 mb2">No service accounts yet</h3>
70+
<p class="f6 gray mb0">
71+
Create your first service account to get started with API access.
72+
</p>
73+
</div>
74+
<% end %>
6675
</div>
6776
</div>
6877
<% end %>

0 commit comments

Comments
 (0)