-
Notifications
You must be signed in to change notification settings - Fork 442
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
Migrate group show to Bootstrap #6404
Conversation
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.
from the first commit:
from configuration to Bootstrap
what does this mean? 😕
Was the second commit breaking something? I would say so. Can you include this information in the commit message?
Tests need to be addapted
- else | ||
%tr | ||
%td This group does not contain users. | ||
- if User.current.is_admin? || @group.group_maintainers.where(user: User.current).exists? |
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 would move this to a helper can_edit_group?
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.
The tabs disappear on smaller screens. We had the same issue. You gone need a dropdown
0806b77
to
74b224f
Compare
I removed
It was breaking the indentation. I will add some more comment to clarify the what is th outputs in both cases.
Sure. I'm working on it. |
e893b01
to
085c599
Compare
fbc40b2
to
988c8e7
Compare
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.
Apart from that LGTM 👍
988c8e7
to
61fb42c
Compare
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.
Wait, I reviewed this too fast 🙈
61fb42c
to
dec7a13
Compare
Review app will appear here: http://obs-reviewlab.opensuse.org/eduardoj-bootstrap_group_show |
Instead of this output: <table ...> <thead> <tr> <th>Created</th> ... <th>Priority</th> <th></th> </tr> </thead> </table> <tbody></tbody> output this: <table ...> <thead> <tr> <th>Created</th> ... <th>Priority</th> <th></th> </tr> </thead> <tbody></tbody> </table>
The link points to a form where the users of a group can be added or removed. So it makes more sense to put "Edit" instead of "Update".
dec7a13
to
bafd012
Compare
I tried. I didn't see an error. You're right, fixed. 👍 |
Updating the group members is not done yet. It will be done in another pull request.