Merge pull request #1397 from tsigo/fix_markdown_help
Fix Markdown help page
This commit is contained in:
commit
805d408f0f
1 changed files with 6 additions and 7 deletions
|
@ -88,14 +88,13 @@
|
||||||
for commits
|
for commits
|
||||||
|
|
||||||
-# this example will only be shown if the user has a project with at least one issue
|
-# this example will only be shown if the user has a project with at least one issue
|
||||||
- if project = current_user.projects.first
|
- if @project = current_user.projects.first
|
||||||
- if issue = project.issues.first
|
- if issue = @project.issues.first
|
||||||
%p For example in your #{link_to project.name, project_path(project)} project something like
|
%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.name} is working on solving it."
|
||||||
%p becomes
|
%p becomes:
|
||||||
= markdown "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."
|
%pre= gfm "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."
|
||||||
|
- @project = nil # Prevent this from bubbling up to page title
|
||||||
|
|
||||||
|
|
||||||
.span4.right
|
.span4.right
|
||||||
.alert.alert-info
|
.alert.alert-info
|
||||||
|
|
Loading…
Add table
Reference in a new issue