Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
308852e2
Commit
308852e2
authored
Jun 22, 2011
by
Felix Schäfer
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request
#78
from tomkersten/488_wiki_show_format_hook
Added view hook for additional wiki formats [refs #488]
parents
44b1bcfa
ffc1db8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
show.rhtml
app/views/wiki/show.rhtml
+1
-0
No files found.
app/views/wiki/show.rhtml
View file @
308852e2
...
...
@@ -49,6 +49,7 @@
<%=
f
.
link_to
'Atom'
,
:url
=>
{
:controller
=>
'activities'
,
:action
=>
'index'
,
:id
=>
@project
,
:show_wiki_edits
=>
1
,
:key
=>
User
.
current
.
rss_key
}
%>
<%=
f
.
link_to
'HTML'
,
:url
=>
{
:id
=>
@page
.
title
,
:version
=>
@content
.
version
}
%>
<%=
f
.
link_to
'TXT'
,
:url
=>
{
:id
=>
@page
.
title
,
:version
=>
@content
.
version
}
%>
<%=
call_hook
(
:view_wiki_show_other_formats
,
{
:link_builder
=>
f
,
:url_params
=>
{
:id
=>
@page
.
title
,
:version
=>
@content
.
version
}})
%>
<%
end
if
User
.
current
.
allowed_to?
(
:export_wiki_pages
,
@project
)
%>
<%
content_for
:header_tags
do
%>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment