Commit 58c02f9e2a3de7ee43552d9ad6c206ef91db0d75
- Date: Wed Apr 30 05:56:37 +0000 2008
- Committer: Johan Sørensen (johan@johansorensen.com)
- Author: Johan Sørensen (johan@johansorensen.com)
- Commit SHA1: 58c02f9e2a3de7ee43552d9ad6c206ef91db0d75
- Tree SHA1: 44e303ffbc8f49caec7dfa004c594d54a2397cd7
made clone link text include project slug on users page, so that it makes more sense
Commit diff
| |   |
| 1 | 1 | events: |
| 2 | 2 | * need to create user-less events even we don't find matching users, otherwise it gets weird whenever there's commits from non-registered gitorious users (or users commit from another email). |
| 3 | 3 | - maybe save name+email in events table in that case, so we can hook them up to a user later if needed. |
| 4 | * .hooks symlink need to go to $deploy_to/current, not the release dir |
| 4 | 5 | |
| 5 | 6 | new-ui: |
| 6 | 7 | * show outstanding mergerequests on dashboard |
| toggle raw diff |
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,6 +1,7 @@
events:
* need to create user-less events even we don't find matching users, otherwise it gets weird whenever there's commits from non-registered gitorious users (or users commit from another email).
- maybe save name+email in events table in that case, so we can hook them up to a user later if needed.
+* .hooks symlink need to go to $deploy_to/current, not the release dir
new-ui:
* show outstanding mergerequests on dashboard |
| |   |
| 35 | 35 | <h4>Repository clones</h4> |
| 36 | 36 | <ul> |
| 37 | 37 | <% @repositories.each do |repo| -%> |
| 38 | | <li><%= link_to h(repo.name), [repo.project, repo] -%></li> |
| 38 | <li><%= link_to h("#{repo.project.slug}/#{repo.name}"), [repo.project, repo] -%></li> |
| 39 | 39 | <% end -%> |
| 40 | 40 | </ul> |
| 41 | 41 | <% end -%> |
| toggle raw diff |
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -35,7 +35,7 @@
<h4>Repository clones</h4>
<ul>
<% @repositories.each do |repo| -%>
- <li><%= link_to h(repo.name), [repo.project, repo] -%></li>
+ <li><%= link_to h("#{repo.project.slug}/#{repo.name}"), [repo.project, repo] -%></li>
<% end -%>
</ul>
<% end -%> |