diff --git a/app/views/projects/_members_box.html.erb b/app/views/projects/_members_box.html.erb index deacdd13f0..f03ba22ab2 100644 --- a/app/views/projects/_members_box.html.erb +++ b/app/views/projects/_members_box.html.erb @@ -28,8 +28,11 @@ See doc/COPYRIGHT.rdoc for more details. ++#%> <% if @users_by_role.any? %> -
-

<%=l(:label_member_plural)%>

+
+

+ + <%=l(:label_member_plural)%> +

<% @users_by_role.sort.each do |role, users| %> <%= role %>: <%= users.sort.collect{ |u| link_to_user u }.join(", ").html_safe %>
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index a4cd1b3784..824ede945a 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -32,7 +32,7 @@ See doc/COPYRIGHT.rdoc for more details. <% breadcrumb_paths(l(:label_overview)) %>

-
+
<%= format_text @project.description %>
@@ -50,8 +50,11 @@ See doc/COPYRIGHT.rdoc for more details. <% end %> <% if User.current.allowed_to?(:view_work_packages, @project) %> -
-

<%=l(:label_work_package_tracking)%>

+
+

+ + <%=l(:label_work_package_tracking)%> +

    <% for type in @types %>
  • <%= link_to (type.is_standard) ? l(:default_type) : h(type.name), @@ -72,12 +75,15 @@ See doc/COPYRIGHT.rdoc for more details. <%= call_hook(:view_projects_show_left, project: @project) %>
-
+
<%= render partial: 'members_box' %> <% if @news.any? && authorize_for('news', 'index') %> -
-

<%=l(:label_news_latest)%>

+
+

+ + <%=l(:label_news_latest)%> +

<%= render partial: 'news/news', collection: @news %>

<%= link_to l(:label_news_view_all), {controller: '/news', action: 'index', project_id: @project}, class: 'button -highlight' %>