From: Chris Waguespack Date: Wed, 23 Jan 2013 15:58:38 +0000 (-0600) Subject: Update Markdown example to use username X-Git-Tag: v4.2.0~82^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8ec36ca056cdae7ecd6b2b7dce215d7ef897e22d;p=wvm%2Fgitlab.git Update Markdown example to use username Update the Markdown example in the Help pages to use username instead of user. --- diff --git a/app/views/help/markdown.html.haml b/app/views/help/markdown.html.haml index 46bcd8952..92c1e49be 100644 --- a/app/views/help/markdown.html.haml +++ b/app/views/help/markdown.html.haml @@ -121,7 +121,7 @@ - if @project = current_user.authorized_projects.first - if issue = @project.issues.first %p For example in your #{link_to @project.name, project_path(@project)} project, writing: - %pre= "This is related to ##{issue.id}. @#{current_user.name} is working on solving it." + %pre= "This is related to ##{issue.id}. @#{current_user.username} is working on solving it." %p becomes: - = markdown "This is related to ##{issue.id}. @#{current_user.name} is working on solving it." + = markdown "This is related to ##{issue.id}. @#{current_user.username} is working on solving it." - @project = nil # Prevent this from bubbling up to page title