stable

Clone or download

Read-only

fix: Give siteadmin preferences to tlp-relative-date

How to test: - Prepare two regular users (let's call them Alice and Bob) - As site admin, search for Alice and Bob in the site administration and browse their details - In the "Access" section, all dates should be displayed according to site admin date preferences (NOT Alice or Bob's preferences) Notes: - I removed the tlp-tooltips as they were doing the same job as tlp-relative-date itself. Also took the opportunity to eliminate the triple-mustache blocks and to move the gettext strings to the mustache file. - We should probably deal with optional dates in the presenter builder itself, but that calls for a dedicated contribution. fixes request #32984 Dates in site admin user details page vary for each user Change-Id: Iabd69b77ae0399e0c2b51c019ac99d21a5486dcd

Modified Files

Name
M src/common/User/Admin/UserDetailsAccessPresenter.php +60 −139 Go to diff View file
M src/templates/admin/users/user.mustache +27 −22 Go to diff View file
M src/www/admin/usergroup.php +4 −3 Go to diff View file