app/views/decidim/admin/users/index.html.erb in decidim-admin-0.4.4 vs app/views/decidim/admin/users/index.html.erb in decidim-admin-0.5.0

- old
+ new

@@ -8,10 +8,11 @@ <div class="card-section"> <div class="table-scroll"> <table class="table-list"> <thead> <tr> + <th><%= t("models.user.fields.role", scope: "decidim.admin") %></th> <th><%= t("models.user.fields.name", scope: "decidim.admin") %></th> <th><%= t("models.user.fields.email", scope: "decidim.admin") %></th> <th><%= t("models.user.fields.invitation_sent_at", scope: "decidim.admin") %></th> <th><%= t("models.user.fields.invitation_accepted_at", scope: "decidim.admin") %></th> <th><%= t("models.user.fields.last_sign_in_at", scope: "decidim.admin") %></th> @@ -20,9 +21,10 @@ </tr> </thead> <tbody> <% @users.each do |user| %> <tr data-user-id="<%= user.id %>"> + <td><%= t(user.active_role, scope: "decidim.admin.models.user.fields.roles") %></td> <td><%= user.name %></td> <td><%= user.email %></td> <td> <% if user.invitation_sent_at %> <%= l user.invitation_sent_at, format: :short %>