Project

General

Profile

Actions

Defect #43491

closed

Fix incorrect link for the Japanese CommonMark Quick Reference

Defect #43491: Fix incorrect link for the Japanese CommonMark Quick Reference

Added by Mizuki ISHIKAWA about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
Resolution:
Fixed
Affected version:

Description

Clicking the link to the right of “Font Styles” resulted in an exception because the target page did not exist.
Updating the link as shown below resolves the issue.

diff --git a/app/views/help/wiki_syntax/common_mark/ja/wiki_syntax_common_mark.html.erb b/app/views/help/wiki_syntax/common_mark/ja/wiki_syntax_common_mark.html.erb
index 15268ac42..dbf36a2b8 100644
--- a/app/views/help/wiki_syntax/common_mark/ja/wiki_syntax_common_mark.html.erb
+++ b/app/views/help/wiki_syntax/common_mark/ja/wiki_syntax_common_mark.html.erb
@@ -10,7 +10,7 @@
 <h1>Wiki記法 クイックリファレンス (CommonMark Markdown (GitHub Flavored))</h1>

 <table style="width:100%">
-<tr><th colspan="3">Font Styles <span class="more_info">(<a href="wiki_syntax_detailed_markdown.html#5" target="_blank">詳細</a>)</span></th></tr>
+<tr><th colspan="3">Font Styles <span class="more_info">(<a href="<%= help_wiki_syntax_path(:detailed, anchor: "5") %>" target="_blank">詳細</a>)</span></th></tr>
 <tr><th><%= image_tag("jstoolbar/bold.svg", { alt: "太字" }) %></th><td style="width:50%;">**太字**</td><td style="width:50%;"><strong>太字</strong></td></tr>
 <tr><th><%= image_tag("jstoolbar/italic.svg", { alt: "斜体" }) %></th><td>*斜体*</td><td><em>斜体</em></td></tr>
 <tr><th><%= image_tag("jstoolbar/strikethrough.svg", { alt: "取り消し線" }) %></th><td>~~取り消し線~~</td><td><del>取り消し線</del></td></tr>


Related issues 1 (0 open — 1 closed)

Related to Redmine - Patch #43215: Add Japanese CommonMark Markdown helpClosedGo MAEDAActions

Updated by Go MAEDA about 1 year ago Actions #1

  • Target version set to 6.1.1

Updated by Go MAEDA about 1 year ago Actions #2

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix in r24150. Thank you.

Updated by Go MAEDA about 1 year ago Actions #3

  • Related to Patch #43215: Add Japanese CommonMark Markdown help added

Updated by Go MAEDA 12 months ago Actions #4

  • Status changed from Resolved to Closed

Merged r24150 into 6.1-stable branch in r24164.

Updated by Go MAEDA 12 months ago Actions #5

  • Category changed from UI to Documentation
Actions

Also available in: PDF Atom