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
05e6e910
Commit
05e6e910
authored
Feb 11, 2011
by
Felix Schäfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fis Atom links on wiki index pages.
parent
9726157e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
date_index.html.erb
app/views/wiki/date_index.html.erb
+2
-2
index.html.erb
app/views/wiki/index.html.erb
+2
-2
No files found.
app/views/wiki/date_index.html.erb
View file @
05e6e910
...
...
@@ -23,11 +23,11 @@
<%
unless
@pages
.
empty?
%>
<%
other_formats_links
do
|
f
|
%>
<%=
f
.
link_to
'Atom'
,
:url
=>
{
:controller
=>
'activities'
,
:action
=>
'
show
'
,
:id
=>
@project
,
:show_wiki_edits
=>
1
,
:key
=>
User
.
current
.
rss_key
}
%>
<%=
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
=>
{
:action
=>
'export'
})
if
User
.
current
.
allowed_to?
(
:export_wiki_pages
,
@project
)
%>
<%
end
%>
<%
end
%>
<%
content_for
:header_tags
do
%>
<%=
auto_discovery_link_tag
(
:atom
,
:controller
=>
'activities'
,
:action
=>
'
show
'
,
:id
=>
@project
,
:show_wiki_edits
=>
1
,
:format
=>
'atom'
,
:key
=>
User
.
current
.
rss_key
)
%>
<%=
auto_discovery_link_tag
(
:atom
,
:controller
=>
'activities'
,
:action
=>
'
index
'
,
:id
=>
@project
,
:show_wiki_edits
=>
1
,
:format
=>
'atom'
,
:key
=>
User
.
current
.
rss_key
)
%>
<%
end
%>
app/views/wiki/index.html.erb
View file @
05e6e910
...
...
@@ -16,11 +16,11 @@
<%
unless
@pages
.
empty?
%>
<%
other_formats_links
do
|
f
|
%>
<%=
f
.
link_to
'Atom'
,
:url
=>
{
:controller
=>
'activities'
,
:action
=>
'
show
'
,
:id
=>
@project
,
:show_wiki_edits
=>
1
,
:key
=>
User
.
current
.
rss_key
}
%>
<%=
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
=>
{
:action
=>
'export'
})
if
User
.
current
.
allowed_to?
(
:export_wiki_pages
,
@project
)
%>
<%
end
%>
<%
end
%>
<%
content_for
:header_tags
do
%>
<%=
auto_discovery_link_tag
(
:atom
,
:controller
=>
'activities'
,
:action
=>
'
show
'
,
:id
=>
@project
,
:show_wiki_edits
=>
1
,
:format
=>
'atom'
,
:key
=>
User
.
current
.
rss_key
)
%>
<%=
auto_discovery_link_tag
(
:atom
,
:controller
=>
'activities'
,
:action
=>
'
index
'
,
:id
=>
@project
,
:show_wiki_edits
=>
1
,
:format
=>
'atom'
,
:key
=>
User
.
current
.
rss_key
)
%>
<%
end
%>
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