From 80dd04dbc2cc3e93643c336bb5542f3b7e591b46 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 13 Apr 2016 16:35:40 +0200 Subject: [PATCH] Overhauled user profile buttons --- com.woltlab.wcf/templates/user.tpl | 31 +-- com.woltlab.wcf/templates/userHeader.tpl | 101 +++++--- wcfsetup/install/files/js/WCF.User.js | 216 +----------------- .../js/WoltLab/WCF/Ui/Dropdown/Simple.js | 6 +- .../WCF/Ui/User/Profile/Menu/Item/Abstract.js | 129 +++++++++++ .../WCF/Ui/User/Profile/Menu/Item/Follow.js | 31 +++ .../WCF/Ui/User/Profile/Menu/Item/Ignore.js | 31 +++ .../user/ignore/UserIgnoreAction.class.php | 14 +- .../install/files/style/ui/userProfile.scss | 87 ++++++- wcfsetup/install/lang/de.xml | 3 + wcfsetup/install/lang/en.xml | 3 + 11 files changed, 376 insertions(+), 276 deletions(-) create mode 100644 wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Abstract.js create mode 100644 wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Follow.js create mode 100644 wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Profile/Menu/Item/Ignore.js diff --git a/com.woltlab.wcf/templates/user.tpl b/com.woltlab.wcf/templates/user.tpl index 80fd8ffcae..96f7fc297c 100644 --- a/com.woltlab.wcf/templates/user.tpl +++ b/com.woltlab.wcf/templates/user.tpl @@ -9,28 +9,33 @@ {event name='javascriptInclude'}