summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.haml
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-02-14 19:49:36 -0600
committerJose Ivan Vargas <jvargas@gitlab.com>2017-02-23 15:47:23 -0600
commit4802bd512a2492c7560acde077fee2f4cd9483b3 (patch)
treebc53f57cb03d9116e4aeb07f36ec3be6315eb810 /app/views/users/show.html.haml
parent509ff2ab170802e23646282f1d146a6383b53a66 (diff)
downloadgitlab-ce-4802bd512a2492c7560acde077fee2f4cd9483b3.tar.gz
Initial version of the user-callouts
Diffstat (limited to 'app/views/users/show.html.haml')
-rw-r--r--app/views/users/show.html.haml19
1 files changed, 17 insertions, 2 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml
index dc2fea450bd..a3e35961261 100644
--- a/app/views/users/show.html.haml
+++ b/app/views/users/show.html.haml
@@ -98,7 +98,19 @@
Snippets
%div{ class: container_class }
- .tab-content
+ #user-callout
+ .bordered-box.landing.content-block
+ = icon("times", class: "dismiss-icon")
+ .row
+ .col-sm-3.col-xs-12.svg-container
+ = custom_icon('icon_cycle_analytics_splash')
+ .col-sm-8.col-xs-12.inner-content
+ %h4
+ Customize your experience
+ %p
+ Change syntax themes, default project pages, and more in preferences.
+
+ = link_to "Check it out", profile_preferences_path, class: 'btn'
#activity.tab-pane
.row-content-block.calender-block.white.second-block.hidden-xs
.user-calendar{ data: { href: user_calendar_path } }
@@ -127,8 +139,11 @@
= spinner
:javascript
- var userProfile;
+ var userProfile, userCallout;
userProfile = new gl.User({
action: "#{controller.action_name}"
});
+
+ userCallout = new gl.UserCallout();
+