Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OHR Support
Manage
Activity
Members
Labels
Plan
Issues
97
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
OHR Support
Commits
8686a16e
Commit
8686a16e
authored
13 years ago
by
Gregor Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Changing the way, links to the wiki_syntax help page are generated
This fixes a comment, that was sitting there for more than 2 years.
parent
9d13deee
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/redmine/wiki_formatting/textile/helper.rb
+2
-3
2 additions, 3 deletions
lib/redmine/wiki_formatting/textile/helper.rb
with
2 additions
and
3 deletions
lib/redmine/wiki_formatting/textile/helper.rb
+
2
−
3
View file @
8686a16e
...
...
@@ -20,9 +20,8 @@ module Redmine
module
Textile
module
Helper
def
wikitoolbar_for
(
field_id
)
# Is there a simple way to link to a public resource?
url
=
"
#{
Redmine
::
Utils
.
relative_url_root
}
/help/wiki_syntax.html"
url
=
url_for
(
:controller
=>
'help'
,
:action
=>
'wiki_syntax'
)
help_link
=
l
(
:setting_text_formatting
)
+
': '
+
link_to
(
l
(
:label_help
),
url
,
:onclick
=>
"window.open(
\"
#{
url
}
\"
,
\"\"
,
\"
resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes
\"
); return false;"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment