-
Notifications
You must be signed in to change notification settings - Fork 27
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
List view directory search #32
List view directory search #32
Conversation
…lts_display_mode = 'table')
…lean value to make the full table row clickable
…length_choices is empty
Thanks, I will need some time to review all the changes. I will try to do it as soon as possible. |
Hello @proxyconcept,
Do you use
I notice that cursor is a cross when you move it on a mailto: or tel: link:
I suppose you would like to mean "directory view". |
If I set : $datatables_page_length_choices = array(10, 25, 50, 100, 250, 500, -1); I can't see |
I use $search_result_title and $search_result_items because they are used to construct the LDAP request. If we use another config options :
So, I think we can :
I don't say my actual solution is the best, but I can't decide on this point. So I chose the least impacting option.
Yes... just because I wanted to use a different cursor than the classic pointer. it seems to me useful when the pointer cursor indicates that the link (or the entire row) is clickable to open the display view.
Right... lazy copy/paste
Well... It works for me |
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.
Hello, here are some feedback for discussion:
- It is not clear why we have 2 print buttons (one for list, one for page) in directory page
- If we use links on attributes in the table, I think we must remove the button a the beginning of the line
- I am not very fond of the dotted line for tel and mail links in directory table. But it is a nice idea to add the phone and mail icon when hover the link, so we can see it is not a common link. I would also remove the cross to keep the default link cursor. Using the icon is enough from my point of view
- I would also change the hover color of row and the print button style, but that is something I will do after merging
Please let me know when you think the PR is complete so we can merge it.
Sorry, it was an error. Great enhancement ! |
I will merge this PR and do some adaptations after. |
Can resolve #16 :
Can partially resolve #1 :
And as mentioned in #28 :
Other new config options :
Sorry for the big commits... It was hard to keep it smaller. I also made changes on smarty assignments in order to not load useless data and improve the factorization.