Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
14 lines
548 B
Plaintext
14 lines
548 B
Plaintext
<div class="contextual">
|
|
<%= link_to_if_authorized l(:label_news_new), {:controller => 'projects', :action => 'add_news', :id => @project}, :class => 'icon icon-add' %>
|
|
</div>
|
|
|
|
<h2><%=l(:label_news_plural)%></h2>
|
|
|
|
<% if @news.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
|
|
<%= render :partial => 'news/news', :collection => @news %>
|
|
<%= pagination_links_full @news_pages %>
|
|
|
|
<% content_for :header_tags do %>
|
|
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
|
|
<% end %>
|