|
|
|
@ -70,8 +70,8 @@
|
|
|
|
|
<span style="font-size: 16px; border-bottom:1px solid #f0f0f0; margin-right: 15px;">
|
|
|
|
|
<%= label_tips %>
|
|
|
|
|
</span>
|
|
|
|
|
<% if @project.enabled_modules.where("name = 'news'").count > 0 %>
|
|
|
|
|
<%= link_to(btn_tips,
|
|
|
|
|
<% if @project.enabled_modules.where("name = 'news'").count > 0 && User.current.member_of?(@project) %>
|
|
|
|
|
<%= link_to(btn_tips,
|
|
|
|
|
new_project_news_path(@project),
|
|
|
|
|
:class => 'icon icon-add',
|
|
|
|
|
:onclick => 'showAndScrollTo("add-news", "news_title"); return false;') %>
|
|
|
|
|