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
85dec5a0
Commit
85dec5a0
authored
Oct 27, 2011
by
Enrique García
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed the order of elements in project#overview. fixes
#363
parent
503ca0a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
show.rhtml
app/views/projects/show.rhtml
+13
-11
No files found.
app/views/projects/show.rhtml
View file @
85dec5a0
...
...
@@ -23,6 +23,18 @@
<%
end
%>
</ul>
<%
if
@news
.
any?
&&
authorize_for
(
'news'
,
'index'
)
%>
<div
class=
"news box"
>
<h3>
<%=
l
(
:label_news_latest
)
%>
</h3>
<%=
render
:partial
=>
'news/news'
,
:collection
=>
@news
%>
<p>
<%=
link_to
l
(
:label_news_view_all
),
:controller
=>
'news'
,
:action
=>
'index'
,
:project_id
=>
@project
%>
</p>
</div>
<%
end
%>
<%=
call_hook
(
:view_projects_show_left
,
:project
=>
@project
)
%>
</div>
<div
class=
"splitcontentright"
>
<%
if
User
.
current
.
allowed_to?
(
:view_issues
,
@project
)
%>
<div
class=
"issues box"
>
<h3>
<%=
l
(
:label_issue_tracking
)
%>
</h3>
...
...
@@ -47,19 +59,9 @@
</p>
</div>
<%
end
%>
<%=
call_hook
(
:view_projects_show_left
,
:project
=>
@project
)
%>
</div>
<div
class=
"splitcontentright"
>
<%=
render
:partial
=>
'members_box'
%>
<%
if
@news
.
any?
&&
authorize_for
(
'news'
,
'index'
)
%>
<div
class=
"news box"
>
<h3>
<%=
l
(
:label_news_latest
)
%>
</h3>
<%=
render
:partial
=>
'news/news'
,
:collection
=>
@news
%>
<p>
<%=
link_to
l
(
:label_news_view_all
),
:controller
=>
'news'
,
:action
=>
'index'
,
:project_id
=>
@project
%>
</p>
</div>
<%
end
%>
<%=
call_hook
(
:view_projects_show_right
,
:project
=>
@project
)
%>
</div>
...
...
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