diff options
Diffstat (limited to 'app/views/welcome/index.rhtml')
-rw-r--r-- | app/views/welcome/index.rhtml | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/app/views/welcome/index.rhtml b/app/views/welcome/index.rhtml index 95683c849..9c73ab863 100644 --- a/app/views/welcome/index.rhtml +++ b/app/views/welcome/index.rhtml @@ -1,27 +1,27 @@ -<h2><%= l(:label_home) %></h2>
-
-<div class="splitcontentleft">
- <p><%= Setting.welcome_text %></p>
- <div class="box">
+<h2><%= l(:label_home) %></h2> + +<div class="splitcontentleft"> + <p><%= Setting.welcome_text %></p> + <div class="box"> <h3><%=l(:label_news_latest)%></h3> - <%= render :partial => 'news/news', :collection => @news %>
- </div>
-</div>
-
-<div class="splitcontentright">
- <div class="box">
- <h3 class="icon22 icon22-projects"><%=l(:label_project_latest)%></h3>
+ <%= render :partial => 'news/news', :collection => @news %> + </div> +</div> + +<div class="splitcontentright"> + <div class="box"> + <h3 class="icon22 icon22-projects"><%=l(:label_project_latest)%></h3> <ul> - <% for project in @projects %>
- <li>
- <%= link_to project.name, :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)<br />
- <%=h project.description %>
- </li>
- <% end %>
- </ul>
- </div>
-</div>
-
-<% content_for :header_tags do %>
-<%= auto_discovery_link_tag(:rss, {:controller => 'feeds' , :action => 'news' }) %>
+ <% for project in @projects %> + <li> + <%= link_to project.name, :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)<br /> + <%=h project.description %> + </li> + <% end %> + </ul> + </div> +</div> + +<% content_for :header_tags do %> +<%= auto_discovery_link_tag(:rss, {:controller => 'feeds' , :action => 'news' }) %> <% end %>
\ No newline at end of file |