Fogbugz #57: Adressliste: jeweils erste beide Nr. anzeigen.
This commit is contained in:
parent
5bbf91a747
commit
ca882dd7f4
1 changed files with 6 additions and 6 deletions
|
|
@ -4,13 +4,12 @@
|
|||
[bild]
|
||||
</div>
|
||||
<div class="threecol">
|
||||
<strong><%= c.firstname %></strong>
|
||||
<strong><%= c.lastname %></strong>
|
||||
<strong><%= c.firstname.blank? ? " ".html_safe : c.firstname %></strong>
|
||||
<strong><%= c.lastname.blank? ? " ".html_safe : c.lastname %></strong>
|
||||
</div>
|
||||
<div class="twocol">
|
||||
have: <%= c.emails.count %> email.
|
||||
<% c.emails.first(2).each do |e| %>
|
||||
<a href="mailto:<%= e.address %>"><%= e.address %></a>
|
||||
<% c.emails.first(2).each do |e| %>
|
||||
<a href="mailto:<%= e.address %>"><%= e.address %></a><br />
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="onecol">
|
||||
|
|
@ -20,7 +19,8 @@
|
|||
</div>
|
||||
<div class="fourcol">
|
||||
<% c.phones.first(2).each do |p| %>
|
||||
<%= p %>
|
||||
<strong><%= p.desc unless p.desc.blank? %></strong>
|
||||
<%= p.nr %><br />
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue