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
Issue #2792 #2798
Issue #2792 #2798
Conversation
- Add a condition to check if the current user is amongst the responses - Populate the responses array with the self attribute
- Add active class when the self attribute is found - Add CSS styling to active response links
- Move rotator from hidden block to post header
For me the condition looks fine. The "uid" contains the user that owns the item. And "self" just tells if the item was created by the user that owns the item. Now the nasty part: Could you add your changes to the other (maintained) themes as well? Thanks! |
- Update general wall_thread.tpl - Add specific styles for duepuntozero
- Add active classes to wall_thread.tpl - Add styles - Fix event icon not appearing at full opacity on hover
Yes but I won't accept any liability for ugly design. Also I see way more themes in the theme folder than in the active theme list in the admin, is it because they all are deprecated? |
Yes. The supported themes are the ones where the file |
- Added active class to wall_thread.tpl - Added styles - Fixed background-size declarations to be able to add padding to icons
- Add active classes to wall_thread.tpl, search_item.tpl and photo_item.tpl - Add styles both in the master LESS file and the generated variant CSS themes
- Added "self" class to wall_thread.tpl to avoid conflict with the already existing "active" class - Added style
- Add active class to wall_thread.tpl, search_item.tpl, photo_item.tpl - Add style Note: because of an !important in the Dark variant stylesheet, the active links won't show up
- Added active class to search_item.tpl
It's done. Phew! |
Fix Issue #2792
Not sure about the following condition to know if the current user is among the reactions:
if((local_user()) && (local_user() == $item['uid']) && ($item['self']))
It seems to work on as expected on my single-user instance, but I'm not exactly sure about the meaning of
uid
andself
.