Feature #33056 » 0004-Apply-the-color-scheme-to-the-wiki-syntax-help-pages.patch
| app/assets/stylesheets/dark.css | ||
|---|---|---|
| 354 | 354 |
border-color: #adb5bd; |
| 355 | 355 |
} |
| 356 | 356 | |
| 357 |
/* Pages without #wrapper, such as the wiki syntax help pages */ |
|
| 358 |
body { background-color: var(--color-background); }
|
|
| 359 | ||
| 360 |
/* Wiki toolbar icons on the wiki syntax help pages */ |
|
| 361 |
th > img[src*="/jstoolbar/"] { filter: invert(1) hue-rotate(180deg); }
|
|
| 362 | ||
| 357 | 363 |
/* Distinguish buttons from text fields */ |
| 358 | 364 |
input[type="submit"], button[type="submit"], input[type="button"] { background-color: var(--oc-gray-1); }
|
| 359 | 365 | |
| app/helpers/application_helper.rb | ||
|---|---|---|
| 946 | 946 |
end |
| 947 | 947 |
end |
| 948 | 948 | |
| 949 |
# Returns the head tags for the wiki syntax help pages |
|
| 950 |
def heads_for_wiki_syntax(stylesheet) |
|
| 951 |
safe_join([stylesheet_link_tag(stylesheet), color_scheme_tags]) |
|
| 952 |
end |
|
| 953 | ||
| 949 | 954 |
# Returns the theme, controller name, and action as css classes for the |
| 950 | 955 |
# HTML body. |
| 951 | 956 |
def body_css_classes |
| app/views/help/wiki_syntax/code_highlighting_languages.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>List of languages supported by Redmine code highlighter</title> |
| 5 | 5 |
<meta charset="UTF-8"> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/common_mark/de/wiki_syntax_common_mark.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta charset="UTF-8"> |
| 5 | 5 |
<title>Wikiformatierung</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/common_mark/de/wiki_syntax_detailed_common_mark.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>Redmine Wiki-Formatierung (CommonMark Markdown (GitHub Flavored))detailliert</title> |
| 5 | 5 |
<meta charset="UTF-8"> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/common_mark/en/wiki_syntax_common_mark.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta charset="UTF-8"> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/common_mark/en/wiki_syntax_detailed_common_mark.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting (CommonMark Markdown (GitHub Flavored))</title> |
| 5 | 5 |
<meta charset="UTF-8"> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/common_mark/ja/wiki_syntax_common_mark.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta charset="UTF-8"> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/common_mark/ja/wiki_syntax_detailed_common_mark.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting (CommonMark Markdown (GitHub Flavored))</title> |
| 5 | 5 |
<meta charset="UTF-8"> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/common_mark/ta-in/wiki_syntax_common_mark.html.erb | ||
|---|---|---|
| 2 | 2 |
<html> |
| 3 | 3 |
<meta charset="UTF-8"> |
| 4 | 4 |
<title>விக்கி வடிவமைப்பு</title> |
| 5 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 5 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 6 | 6 |
</head> |
| 7 | 7 |
<body> |
| 8 | 8 | |
| app/views/help/wiki_syntax/common_mark/ta-in/wiki_syntax_detailed_common_mark.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting (CommonMark Markdown (GitHub Flavored))</title> |
| 5 | 5 |
<meta charset="UTF-8"> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/bg/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/bg/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/ca/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/ca/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Format de la Wiki</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/cs/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>Formátování Wiki v Redminu</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/cs/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formátování</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/de/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>Redmine Wiki-Formatierung (Textile) detailliert</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/de/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wikiformatierung</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/en/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/en/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/es-pa/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Formato de la Wiki</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/es/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/es/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Formato de la Wiki</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/fr/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/fr/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/gl/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/gl/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/ja/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/ja/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/ko/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/ko/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/lt/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/lt/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/nl/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/nl/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/pt-br/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Formatação Wiki</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/ru/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>Форматирование Wiki Redmine</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/ru/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Форматирование Wiki</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiவடிவமைத்தல்</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/ta-in/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/uk/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>Redmine - форматування вікі сторінок</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/uk/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Вікі синтаксис</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/zh-tw/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki 格式設定</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| app/views/help/wiki_syntax/textile/zh/wiki_syntax_detailed_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<title>RedmineWikiFormatting</title> |
| 5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax_detailed" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 | |
| 9 | 9 |
<body> |
| app/views/help/wiki_syntax/textile/zh/wiki_syntax_textile.html.erb | ||
|---|---|---|
| 3 | 3 |
<head> |
| 4 | 4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
<title>Wiki formatting</title> |
| 6 |
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
| 6 |
<%= heads_for_wiki_syntax "wiki_syntax" %>
|
|
| 7 | 7 |
</head> |
| 8 | 8 |
<body> |
| 9 | 9 | |
| test/functional/help_controller_test.rb | ||
|---|---|---|
| 109 | 109 |
assert_select '>td:nth-of-type(2)', :text => /\[aliases: rb\]/ |
| 110 | 110 |
end |
| 111 | 111 |
end |
| 112 | ||
| 113 |
def test_get_help_wiki_syntax_should_include_dark_color_scheme |
|
| 114 |
[{}, {:type => 'detailed'}].each do |params|
|
|
| 115 |
get :show_wiki_syntax, :params => params |
|
| 116 | ||
| 117 |
assert_response :success |
|
| 118 |
assert_select 'meta[name=color-scheme][content=?]', 'light dark' |
|
| 119 |
assert_select "link[rel=stylesheet][media=?]:match('href', ?)",
|
|
| 120 |
'screen and (prefers-color-scheme: dark)', %r{/dark(-\w+)?\.css}
|
|
| 121 |
end |
|
| 122 |
end |
|
| 123 | ||
| 124 |
def test_get_help_code_highlighting_should_include_dark_color_scheme |
|
| 125 |
get :show_code_highlighting |
|
| 126 | ||
| 127 |
assert_response :success |
|
| 128 |
assert_select "link[rel=stylesheet]:match('href', ?)", %r{/dark(-\w+)?\.css}
|
|
| 129 |
end |
|
| 112 | 130 |
end |