| |   |
| 4 | 4 | |
| 5 | 5 | <ul class="infobox"> |
| 6 | 6 | <li><strong>Owner:</strong> <%= link_to h(@project.user.login), user_path(@project.user) -%></li> |
| 7 | <li><strong>Created:</strong> <%= @project.created_at.to_s(:short) -%></li> |
| 7 | 8 | <li><strong>Labels:</strong> |
| 8 | 9 | <%= @project.tag_list.blank? ? "none" : linked_tag_list_as_sentence(@project.tags) -%></li> |
| 9 | 10 | <li><strong>License:</strong> <%= h(@project.license) -%></li> |
| … | … | |
| 27 | 27 | <thead> |
| 28 | 28 | <th>Name</th> |
| 29 | 29 | <th>Owner</th> |
| 30 | | <th>Created</th> |
| 31 | 30 | <th>Last Commit</th> |
| 32 | 31 | <th></th> |
| 33 | 32 | </thead> |
| … | … | |
| 40 | 40 | <%= h(@project.slug) -%> (<%= link_to h(repos.user.login), user_path(repos.user) -%>) |
| 41 | 41 | </td> |
| 42 | 42 | <td> |
| 43 | | <%= repos.created_at.to_s(:short) -%> |
| 44 | | </td> |
| 45 | | <td> |
| 46 | 43 | <%= repos.last_commit ? repos.last_commit.author.date.to_s(:short) : "<em>none</em>" -%> |
| 47 | 44 | </td> |
| 48 | 45 | <td><%= link_to "browse", project_repository_browse_path(@project, repos) -%></td> |
| … | … | |
| 53 | 53 | <%= link_to h(repos.user.login), user_path(repos.user) -%> |
| 54 | 54 | </td> |
| 55 | 55 | <td> |
| 56 | | <%= repos.created_at.to_s(:short) -%> |
| 57 | | </td> |
| 58 | | <td> |
| 59 | 56 | <%= repos.last_commit ? repos.last_commit.author.date.to_s(:short) : "<em>none</em>" -%> |
| 60 | 57 | </td> |
| 61 | 58 | <td><%= link_to "browse", project_repository_browse_path(@project, repos) -%></td> |
| toggle raw diff |
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -4,6 +4,7 @@
<ul class="infobox">
<li><strong>Owner:</strong> <%= link_to h(@project.user.login), user_path(@project.user) -%></li>
+ <li><strong>Created:</strong> <%= @project.created_at.to_s(:short) -%></li>
<li><strong>Labels:</strong>
<%= @project.tag_list.blank? ? "none" : linked_tag_list_as_sentence(@project.tags) -%></li>
<li><strong>License:</strong> <%= h(@project.license) -%></li>
@@ -26,7 +27,6 @@
<thead>
<th>Name</th>
<th>Owner</th>
- <th>Created</th>
<th>Last Commit</th>
<th></th>
</thead>
@@ -40,9 +40,6 @@
<%= h(@project.slug) -%> (<%= link_to h(repos.user.login), user_path(repos.user) -%>)
</td>
<td>
- <%= repos.created_at.to_s(:short) -%>
- </td>
- <td>
<%= repos.last_commit ? repos.last_commit.author.date.to_s(:short) : "<em>none</em>" -%>
</td>
<td><%= link_to "browse", project_repository_browse_path(@project, repos) -%></td>
@@ -56,9 +53,6 @@
<%= link_to h(repos.user.login), user_path(repos.user) -%>
</td>
<td>
- <%= repos.created_at.to_s(:short) -%>
- </td>
- <td>
<%= repos.last_commit ? repos.last_commit.author.date.to_s(:short) : "<em>none</em>" -%>
</td>
<td><%= link_to "browse", project_repository_browse_path(@project, repos) -%></td> |