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 23:00:30 +0300
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-04-16 23:00:30 +0300
commite79b0dd762719828203bd48c253a88d876bcf61a (patch)
tree7cb145df1d9d0f14d941bd52a1797a1f8a53ab38 /app/views/help
parentffd2416c5636917c0da0a3376342d6c465bb1954 (diff)
Simplify random user generation.
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 64414f5d8b2..f12df5c8ffe 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(@some_user, size: 30)
+ = link_to_member_avatar(@user, size: 30)
%strong.dropdown-menu-user-full-name
- = @some_user.name
+ = @user.name
.dropdown-menu-user-username
- = @some_user.to_reference
+ = @user.to_reference
.example
%div
@@ -372,11 +372,11 @@
%ul
%li
%a.dropdown-menu-user-link.is-active{href: "#"}
- = link_to_member_avatar(@some_user, size: 30)
+ = link_to_member_avatar(@user, size: 30)
%strong.dropdown-menu-user-full-name
- = @some_user.name
+ = @user.name
.dropdown-menu-user-username
- = @some_user.to_reference
+ = @user.to_reference
.dropdown-page-two
.dropdown-title
%button.dropdown-title-button.dropdown-menu-back{aria: {label: "Go back"}}