replace tabs to spaces at app/views/welcome/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7304 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6068784b10
commit
054584b202
@ -4,9 +4,9 @@
|
|||||||
<%= textilizable Setting.welcome_text %>
|
<%= textilizable Setting.welcome_text %>
|
||||||
<% if @news.any? %>
|
<% if @news.any? %>
|
||||||
<div class="news box">
|
<div class="news box">
|
||||||
<h3><%=l(:label_news_latest)%></h3>
|
<h3><%=l(:label_news_latest)%></h3>
|
||||||
<%= render :partial => 'news/news', :collection => @news %>
|
<%= render :partial => 'news/news', :collection => @news %>
|
||||||
<%= link_to l(:label_news_view_all), :controller => 'news' %>
|
<%= link_to l(:label_news_view_all), :controller => 'news' %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= call_hook(:view_welcome_index_left, :projects => @projects) %>
|
<%= call_hook(:view_welcome_index_left, :projects => @projects) %>
|
||||||
@ -14,20 +14,20 @@
|
|||||||
|
|
||||||
<div class="splitcontentright">
|
<div class="splitcontentright">
|
||||||
<% if @projects.any? %>
|
<% if @projects.any? %>
|
||||||
<div class="projects box">
|
<div class="projects box">
|
||||||
<h3><%=l(:label_project_latest)%></h3>
|
<h3><%=l(:label_project_latest)%></h3>
|
||||||
<ul>
|
<ul>
|
||||||
<% for project in @projects %>
|
<% for project in @projects %>
|
||||||
<% @project = project %>
|
<% @project = project %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to_project project %> (<%= format_time(project.created_on) %>)
|
<%= link_to_project project %> (<%= format_time(project.created_on) %>)
|
||||||
<%= textilizable project.short_description, :project => project %>
|
<%= textilizable project.short_description, :project => project %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% @project = nil %>
|
<% @project = nil %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= call_hook(:view_welcome_index_right, :projects => @projects) %>
|
<%= call_hook(:view_welcome_index_right, :projects => @projects) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user