comparison app/views/news/index.html.erb @ 1517:dffacf8a6908 redmine-2.5

Update to Redmine SVN revision 13367 on 2.5-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:29:00 +0100
parents 433d4f72a19b
children
comparison
equal deleted inserted replaced
1516:b450a9d58aed 1517:dffacf8a6908
1 <div class="contextual"> 1 <div class="contextual">
2 <%= link_to(l(:label_news_new), 2 <%= link_to(l(:label_news_new),
3 new_project_news_path(@project), 3 new_project_news_path(@project),
4 :class => 'icon icon-add', 4 :class => 'icon icon-add',
5 :onclick => 'showAndScrollTo("add-news", "news_title"); return false;') if @project && User.current.allowed_to?(:manage_news, @project) %> 5 :onclick => 'showAndScrollTo("add-news", "news_title"); return false;') if @project && User.current.allowed_to?(:manage_news, @project) %>
6 <%= watcher_link(@project.enabled_module('news'), User.current) if @project && User.current.logged? %>
6 </div> 7 </div>
7 8
8 <div id="add-news" style="display:none;"> 9 <div id="add-news" style="display:none;">
9 <h2><%=l(:label_news_new)%></h2> 10 <h2><%=l(:label_news_new)%></h2>
10 <%= labelled_form_for @news, :url => project_news_index_path(@project), 11 <%= labelled_form_for @news, :url => project_news_index_path(@project),