summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Sørensen <johan@johansorensen.com>2009-12-10 14:20:58 +0100
committerJohan Sørensen <johan@johansorensen.com>2009-12-10 14:20:58 +0100
commit01cea0f0095281e5815262838da611f4e552c60d (patch)
treedf571325bc93e79c59fd3c3fcd4f97016a44aabe
parent98b3b6a77fa916a9968e07db2faf6fe50806ec70 (diff)
downloadgitorious-mainline-outdated-01cea0f0095281e5815262838da611f4e552c60d.zip
gitorious-mainline-outdated-01cea0f0095281e5815262838da611f4e552c60d.tar.gz
gitorious-mainline-outdated-01cea0f0095281e5815262838da611f4e552c60d.tar.bz2
Remove a bit of line noise from the recent msgs in inbox on the ~user page
-rw-r--r--app/views/users/show.html.erb8
-rw-r--r--public/stylesheets/base.css3
2 files changed, 7 insertions, 4 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index f18bd23..d59bb9d 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -121,12 +121,11 @@
:title => truncate(h(message.body), :length => 25),
:class => message.aasm_state_for_user(@user)) %>
<span class="meta">
- with <%= other_party(message, @user).title %>
<%= distance_of_time_in_words_to_now(message.updated_at) %> ago
</span>
</li>
<% end %>
- <li>
+ <li class="hint">
<%= link_to("View all messages &raquo;", messages_path) -%>
</li>
</ul>
@@ -137,8 +136,9 @@
<ul>
<% @user.review_repositories_with_open_merge_request_count.each do |repo| %>
<li>
- <%= link_to(repo.url_path + ": " + repo.open_merge_request_count,
- repo_owner_path(repo, [repo.project, repo, :merge_requests])) %>
+ <%= link_to(repo.url_path + " <strong>" +
+ repo.open_merge_request_count + "</strong>",
+ repo_owner_path(repo, [repo.project, repo, :merge_requests])) %>
</li>
<% end %>
</ul>
diff --git a/public/stylesheets/base.css b/public/stylesheets/base.css
index c3ebd4a..58c6c2a 100644
--- a/public/stylesheets/base.css
+++ b/public/stylesheets/base.css
@@ -3384,4 +3384,7 @@ body#users h2.activities small {
.embedded_message_list .meta {
font-size: 11px;
color: #555;
+}
+.embedded_message_list li.hint {
+ text-align: right;
} \ No newline at end of file