Skip to content

Commit 9911a28

Browse files
committed
feat(ui): Add scope to projects overview table.
1 parent 6a1295a commit 9911a28

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

assets/css/tap.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ body {
316316
}
317317

318318
&-info {
319-
width: 50%;
319+
width: 30%;
320320

321321
&-date {
322322
color: bulma.$grey;

lib/zout_web/templates/project/_table.html.eex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<thead>
33
<tr>
44
<th>Project</th>
5+
<th>Omvang</th>
56
<th>Status</th>
67
<th>Acties</th>
78
</tr>
@@ -10,6 +11,7 @@
1011
<%= for %{ project: project, ping: ping } <- @projects_and_pings do %>
1112
<tr>
1213
<td class="order-item-info"><%= link project.name, to: ~p"/projects/#{project}" %></td>
14+
<td><%= project.scope |> Atom.to_string() |> String.capitalize(:default) %></td>
1315
<td>
1416
<%= if is_nil(ping) do %>
1517
<%= render_status(ping) %>

0 commit comments

Comments
 (0)