index.html.erb
1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<div class="jumbotron">
<p><h1><%= t('title_home_index') %></h1></p>
<%= t('body_home_index_html') %>
<p>
<%= t('body_feedback_home_index_html', href: link_to('feedback', 'https://github.com/mezuro/mezuro/issues', target: '_blank')) %>
</p>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-4">
<h2><%= t('latest_projects') %></h2>
<ul>
<% cache action_suffix: 'latest_projects' do %>
<% latest_projects(5).each do |project| %>
<li><%= link_to(project.name, project_path(project.id)) %></li>
<% end %>
<% end %>
</ul>
</div>
<div class="col-md-4">
<h2><%= t('latest_repositories') %></h2>
<ul>
<% cache action_suffix: 'latest_repositories' do %>
<% latest_repositories(5).each do |repository| %>
<li><%= link_to(repository.name, repository_path(repository.id)) %></li>
<% end %>
<% end %>
</ul>
</div>
<div class="col-md-4">
<h2><%= t('latest_configurations') %></h2>
<ul>
<% cache action_suffix: 'latest_configurations' do %>
<% latest_configurations(5).each do |configuration| %>
<li><%= link_to(configuration.name, kalibro_configuration_path(configuration.id)) %></li>
<% end %>
<% end %>
</ul>
</div>
</div>
</div>