Search
Project
General
Profile
Home
Projects
Help
Sign in
Register
Search
:
Redmine
All Projects
Redmine
Overview
Download
Activity
Roadmap
Issues
News
Wiki
Plugins
Forums
Repository
Download (591 Bytes)
Patch #6440
» _wiki.rhtml
Sergei Danilov
, 2010-09-20 15:11
<%
User
.
current
.
custom_values
.
each
do
|
custom_value
|
%>
<%
if
!
custom_value
.
value
.
blank?
&&
custom_value
.
custom_field
.
name
==
"wiki"
%>
<%
page
=
Wiki
.
find_page
(
custom_value
)
%>
<div
class=
"contextual"
>
<%=
link_to
(
l
(
:button_edit
),
{
:action
=>
'edit'
,
:page
=>
page
.
title
},
:class
=>
'icon icon-edit'
,
:accesskey
=>
accesskey
(
:edit
))
%>
</div>
<%=
render
(
:partial
=>
"wiki/content"
,
:locals
=>
{
:content
=>
page
.
content
})
%>
<p>
<%=
link_to
'Edit'
,
url_for
(
:controller
=>
'wiki'
,
:action
=>
'index'
,
:id
=>
page
.
project
,
:page
=>
page
.
title
)
%>
</p>
<%
end
%>
<%
end
%>
« Previous
1
2
3
Next »
(1-1/3)
Loading...