Skip to content

Commit

Permalink
add states to a user's digital assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwoldatwork committed Apr 25, 2023
1 parent 7576376 commit 07b508a
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions app/views/admin/users/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@
<ul class="usa-list">
<% @forms.each do |form| %>
<li>
<%= link_to form.name, admin_form_path(form) %><br>
<%= link_to form.name, admin_form_path(form) %>
&middot;
<%= form.aasm_state %>
</li>
<% end %>
</ul>
Expand All @@ -153,7 +155,9 @@
<ul class="usa-list">
<% @digital_products.each do |digital_product| %>
<li>
<%= link_to digital_product.name, admin_digital_product_path(digital_product) %><br>
<%= link_to digital_product.name, admin_digital_product_path(digital_product) %>
&middot;
<%= digital_product.aasm_state %>
</li>
<% end %>
</ul>
Expand All @@ -176,7 +180,9 @@
<ul class="usa-list">
<% @digital_service_accounts.each do |digital_service_account| %>
<li>
<%= link_to digital_service_account.name, admin_digital_service_account_path(digital_service_account) %><br>
<%= link_to digital_service_account.name, admin_digital_service_account_path(digital_service_account) %>
&middot;
<%= digital_service_account.aasm_state %>
</li>
<% end %>
</ul>
Expand All @@ -199,7 +205,11 @@
<ul class="usa-list">
<% @websites.each do |website| %>
<li>
<%= link_to website.domain, admin_website_path(website) %><br>
<%= link_to website.domain, admin_website_path(website) %>
&middot;
<%= website.aasm_state %>
&middot;
<%= website.production_status %>
</li>
<% end %>
</ul>
Expand Down

0 comments on commit 07b508a

Please sign in to comment.