-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add member list to detail view #376
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,30 @@ | |
<%= t('items.headlines.items') %> | ||
</h5> | ||
<%= render GroupItemListComponent.new(group: @group) %> | ||
<table class="table table-bordered"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The member count should also be displayed as seen in the wireframe. |
||
<thead> | ||
<tr> | ||
<th scope="col"><%= t(:member_name) %></th> | ||
<th scope="col"><%= t(:member_email) %></th> | ||
<th scope="col" style="width: 3rem"></th> | ||
</tr> | ||
</thead> | ||
<tbody class="table-group-divider"> | ||
<% @group.users.each do |user| %> | ||
<tr> | ||
<td><%= user.full_name %></td> | ||
<td><%= user.email %></td> | ||
<% if not user.admin_in?(@group) %> | ||
<td> | ||
<%= mail_to user.email, class: "btn btn-sm btn-secondary" do %> | ||
<i class="bi bi-chat-fill"></i> | ||
<% end %> | ||
</td> | ||
<% else %> | ||
<td> | ||
</td> | ||
<% end %> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
Comment on lines
+13
to
+39
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is copied from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this worth an extra issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think its fine just fixing it here