Skip to content

Commit

Permalink
Upgraded Donut to match the new release of q2a-open-login
Browse files Browse the repository at this point in the history
buttons.less:
* Added a button-unlink (to remove login providers), with a white times sign in a red button
* Removed a trailing comma that was making lint not happy

header.less:
* Added a specific class to distinguish between user menu regular items and login buttons (the css was being mixed up)

user-loggedin-drop-down.php:
* Added a specific class to distinguish between user menu regular items and login buttons (the css was being mixed up)
* Added a test when showing the logout button, because in some case the label already contains the logout link, so it was creating a bizare double menu (see https://www.question2answer.org/qa/65340/two-logout-buttons-displayed-open-login-plugin-look-screen?show=65340#q65340) - see issue amiyasahu#109

user-login-drop-down.php:
* Removed all additional classes added to login buttons, because q2a-open-login does everything on its own now, with more providers, using bootstrap-social
* Added a specific class to distinguish between user menu regular items and login buttons (the css was being mixed up)
  • Loading branch information
bertrandgorge committed Aug 27, 2019
1 parent 14035a3 commit 42de226
Show file tree
Hide file tree
Showing 8 changed files with 174 additions and 1,037 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ qa-theme/SnowFlat
#PHPStroam config files
.idea
qa-cache/.htaccess
qa-plugin/Donut-admin/lang/donut-lang-fr.php
qa-plugin/Donut-admin/lang/donut-options-lang-fr.php
Loading

0 comments on commit 42de226

Please sign in to comment.