Make all text in the contact overview boxes links to the contact's details page.
This commit is contained in:
parent
9e14022228
commit
794b1dcb1c
2 changed files with 4 additions and 3 deletions
|
|
@ -9,10 +9,10 @@
|
|||
<% else %>
|
||||
<div class="threecol contact_summary">
|
||||
<% end %>
|
||||
<span class="name_summary"><%= c.firstname.blank? ? " ".html_safe : c.firstname %></span><br />
|
||||
<strong><%= c.lastname.blank? ? " ".html_safe : c.lastname %></strong>
|
||||
<span class="name_summary"><%= link_to (c.firstname.blank? ? " ".html_safe : c.firstname), c %></span><br />
|
||||
<strong><%= link_to (c.lastname.blank? ? " ".html_safe : c.lastname), c %></strong>
|
||||
<br />
|
||||
<%= c.birth_date_string.blank? ? " ".html_safe : c.birth_date_string %>
|
||||
<%= link_to (c.birth_date_string.blank? ? " ".html_safe : c.birth_date_string), c %>
|
||||
</div> <%# threecol %>
|
||||
<% if ctr.modulo(4) == 0 %>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue