Make all text in the contact overview boxes links to the contact's details page.

This commit is contained in:
Roland Jesse 2012-04-09 21:47:11 +02:00
parent 9e14022228
commit 794b1dcb1c
2 changed files with 4 additions and 3 deletions

View file

@ -9,10 +9,10 @@
<% else %>
<div class="threecol contact_summary">
<% end %>
<span class="name_summary"><%= c.firstname.blank? ? "&nbsp;".html_safe : c.firstname %></span><br />
<strong><%= c.lastname.blank? ? "&nbsp;".html_safe : c.lastname %></strong>
<span class="name_summary"><%= link_to (c.firstname.blank? ? "&nbsp;".html_safe : c.firstname), c %></span><br />
<strong><%= link_to (c.lastname.blank? ? "&nbsp;".html_safe : c.lastname), c %></strong>
<br />
<%= c.birth_date_string.blank? ? "&nbsp;".html_safe : c.birth_date_string %>
<%= link_to (c.birth_date_string.blank? ? "&nbsp;".html_safe : c.birth_date_string), c %>
</div> <%# threecol %>
<% if ctr.modulo(4) == 0 %>
</div>

View file

@ -296,6 +296,7 @@ font-weight: 400;
font-size: 150%;
font-weight: bold;
}
.contact_summary a, .name_summary a { text-decoration: none; color: #000000; }
/* The avatar in the summary overview. */
.avatar_summary {