Patch #231 » show.diff
| show.rhtml (working copy) | ||
|---|---|---|
| 45 | 45 |
<% end %></p> |
| 46 | 46 |
</div> |
| 47 | 47 |
<% end %> |
| 48 |
|
|
| 48 | ||
| 49 |
<% if @cc_feed %> |
|
| 50 |
<%= render :partial => 'cc_feeds' %> |
|
| 51 |
<% end %> |
|
| 52 | ||
| 49 | 53 |
<% if @news.any? && authorize_for('projects', 'list_news') %>
|
| 50 | 54 |
<div class="box"> |
| 51 | 55 |
<h3><%=l(:label_news_latest)%></h3> |
| 52 | 56 |
<%= render :partial => 'news/news', :collection => @news %> |
| 53 | 57 |
<p><%= link_to l(:label_news_view_all), :controller => 'projects', :action => 'list_news', :id => @project %></p> |
| 54 | 58 |
</div> |
| 59 |
|
|
| 55 | 60 |
<% end %> |
| 56 | 61 |
</div> |
| 57 | 62 | |
| ... | ... | |
| 91 | 96 |
<%= auto_discovery_link_tag(:rss, {:controller => 'feeds', :action => 'news', :project_id => @project, :key => @key}, {:title => l(:label_news_latest)}) %>
|
| 92 | 97 |
<%= auto_discovery_link_tag(:atom, {:controller => 'feeds', :action => 'news', :project_id => @project, :key => @key, :format => 'atom'}, {:title => l(:label_news_latest)}) %>
|
| 93 | 98 |
<% end %> |
| 99 | ||
- « Previous
- 1
- 2
- 3
- 4
- Next »