Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-04-16 16:28:04 +0300
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-04-16 16:28:04 +0300
commitffd2416c5636917c0da0a3376342d6c465bb1954 (patch)
tree6b39f3968b0b4cba8c98cd627db50bb3ece78ce7 /app/views/help
parent737087f7e55d8cd981a8f7d19c7cfc0742044d57 (diff)
Make a user available for the user variable
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/ui.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/help/ui.html.haml b/app/views/help/ui.html.haml
index d084559abc3..64414f5d8b2 100644
--- a/app/views/help/ui.html.haml
+++ b/app/views/help/ui.html.haml
@@ -345,11 +345,11 @@
%ul
%li
%a.dropdown-menu-user-link.is-active{href: "#"}
- = link_to_member_avatar(current_user, size: 30)
+ = link_to_member_avatar(@some_user, size: 30)
%strong.dropdown-menu-user-full-name
- = current_user.name
+ = @some_user.name
.dropdown-menu-user-username
- = current_user.to_reference
+ = @some_user.to_reference
.example
%div
@@ -372,11 +372,11 @@
%ul
%li
%a.dropdown-menu-user-link.is-active{href: "#"}
- = link_to_member_avatar(current_user, size: 30)
+ = link_to_member_avatar(@some_user, size: 30)
%strong.dropdown-menu-user-full-name
- = current_user.name
+ = @some_user.name
.dropdown-menu-user-username
- = current_user.to_reference
+ = @some_user.to_reference
.dropdown-page-two
.dropdown-title
%button.dropdown-title-button.dropdown-menu-back{aria: {label: "Go back"}}