-
Notifications
You must be signed in to change notification settings - Fork 146
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
cleanup show order and add search #253
cleanup show order and add search #253
Conversation
Conflicts: app/assets/stylesheets/bootstrap_and_overrides.css.less app/views/orders/_articles.html.haml app/views/orders/show.html.haml
Conflicts: app/helpers/orders_helper.rb
Conflicts: app/assets/stylesheets/bootstrap_and_overrides.css.less
This is the first of some larger user-interface changes. Since it's been 10 days now, I'd like to starting merging this. Let me know if this would or would not be an improvement for your coop. Or else, we'll find out in practice! |
Sorry I currently do not find the time to check it out. As far as I can see, nice changes. Have you made sure that the search input breaks nicely to the next line on smaller screens? |
|
||
respond_to do |format| | ||
@partial = case @view |
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.
Can this affect the rendering of the PDF now? The PDF is crucial for our workflow. If nothing has changed, it is fine.
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'll move that to outside respond_to
- don't know how it ended up there :o This does not change the PDF (@partial
is used in html and js now).
Ah, that is fine. I have seen things like this being inaccessible on small screens due to bad clearing. Thanks for the screenshot! |
cleanup show order and add search
An attempt to make the show order screen a bit cleaner. Search works in default, groups and articles view (listjs).
![cleaned_up_show_order](https://camo.githubusercontent.com/e51b2d24786eb504cff4623b06186d28be70a76887eaa7b48eae89eb855e834f/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3530333830342f313934303634302f34353862633261342d376637632d313165332d396134352d6263353031383035613334312e706e67)
p.s. Multiple
tfoot
s in in onetable
are not allowed, so I moved these intermediate headings into the body, which had a nice side effect that listjs search showed the wholetbody
when a row matched - exactly what I wanted.