diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-05-27 17:17:00 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-05-27 17:23:25 +0200 |
commit | dcc64f44f9f81d32c8071c6bdac86546eaeb57a0 (patch) | |
tree | b8977727227a3ddbb2874ea3f86f1e26e03c8835 /client/components/users | |
parent | 42f6dc686f313ba294e3cbcfb0ebde50678580fe (diff) | |
download | wekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.tar.gz wekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.tar.bz2 wekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.zip |
UI improvements
* Implement visibility choice on board creation;
* Rework the board header bar. Remove links to un-implemented
features;
* Implement a board star counter (visible if the board have >2 stars);
* Define a new icon (a thin cross) to close elements;
* Remove $(document).on('mouseover') event handlers that were
basically fired hundreds of times for nothing, we now define a proper
Tracker dependency to execute jquery-ui plugin initialization only
when something has changed;
* Bug fixes related to list scrolling.
Diffstat (limited to 'client/components/users')
-rw-r--r-- | client/components/users/headerButtons.jade | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/client/components/users/headerButtons.jade b/client/components/users/headerButtons.jade index 74c24ad5..0a2f64cf 100644 --- a/client/components/users/headerButtons.jade +++ b/client/components/users/headerButtons.jade @@ -1,16 +1,12 @@ template(name="headerUserBar") - #header-user-bar - if currentUser - a.js-open-header-member-menu - if currentUser.profile.name - = currentUser.profile.name - else - = currentUser.username - i.fa.fa-chevron-down - else - a(href="{{pathFor route='signUp'}}") Sign in - span.separator - - a(href="{{pathFor route='signIn'}}") Log in + a#header-user-bar.js-open-header-member-menu + .header-user-bar-name + i.fa.fa-chevron-down + if currentUser.profile.name + = currentUser.profile.name + else + = currentUser.username + +userAvatar(user=currentUser) template(name="memberHeader") a.header-member.js-open-header-member-menu |