diff options
author | Johan Sørensen <johan@johansorensen.com> | 2007-12-13 00:38:54 +0100 |
---|---|---|
committer | Johan Sørensen <johan@johansorensen.com> | 2007-12-13 00:38:54 +0100 |
commit | 41b676d38761f36f96899312c9da6ed96e08f43f (patch) | |
tree | b4c1c2c47522d5f55a41d1fe8cb1dd3755c601a0 | |
parent | 19eb26cb1f9a1e43d4daf6ae762c757c0b1d4ffc (diff) | |
download | gitorious-mainline-outdated-41b676d38761f36f96899312c9da6ed96e08f43f.zip gitorious-mainline-outdated-41b676d38761f36f96899312c9da6ed96e08f43f.tar.gz gitorious-mainline-outdated-41b676d38761f36f96899312c9da6ed96e08f43f.tar.bz2 |
link to user here and there
-rw-r--r-- | app/views/projects/show.html.erb | 1 | ||||
-rw-r--r-- | app/views/repositories/show.html.erb | 2 | ||||
-rw-r--r-- | public/stylesheets/base.css | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index 095b718..7b9b716 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -2,6 +2,7 @@ <p><%=h @project.description -%></p> <ul class="infobox"> + <li><strong>Owner:</strong> <%= link_to h(@project.user.login), user_path(@project.user) -%></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> diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 08ad1cc..7ee0d7a 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -5,7 +5,7 @@ <ul class="infobox"> <li><strong>Project:</strong> <%= link_to h(@repository.project.title), @repository.project -%></li> - <li><strong>Owner:</strong> <%=h @repository.user.login -%></li> + <li><strong>Owner:</strong> <%= link_to h(@repository.user.login), user_path(@repository.user) -%></li> <li><strong>Created:</strong> <%= @repository.created_at.to_s(:short) -%></li> <li><strong>Mirror url:</strong> <code><%=h @repository.clone_url -%></code></li> <li><strong>push url:</strong> <code><%=h @repository.push_url -%></code></li> diff --git a/public/stylesheets/base.css b/public/stylesheets/base.css index 5fa76da..fae73df 100644 --- a/public/stylesheets/base.css +++ b/public/stylesheets/base.css @@ -346,6 +346,10 @@ table.repository_list td { border: 1px solid #ccc; } +.infobox li { + margin-bottom: 0.2em; +} + pre.commit_message { margin-top: 10px; margin-left: 10px; |