Project

General

Profile

Actions

Defect #43491

closed

Fix incorrect link for the Japanese CommonMark Quick Reference

Added by Mizuki ISHIKAWA 21 days ago. Updated 11 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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

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

Actions
Actions #1

Updated by Go MAEDA 21 days ago

  • Target version set to 6.1.1
Actions #2

Updated by Go MAEDA 18 days ago

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

Committed the fix in r24150. Thank you.

Actions #3

Updated by Go MAEDA 18 days ago

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

Updated by Go MAEDA 14 days ago

  • Status changed from Resolved to Closed

Merged r24150 into 6.1-stable branch in r24164.

Actions #5

Updated by Go MAEDA 11 days ago

  • Category changed from UI to Documentation
Actions

Also available in: Atom PDF