Fogbugz #40: Liste der Adressen mittels 1140grid erstellt.
This commit is contained in:
parent
e7ab96c33f
commit
55ed695513
2 changed files with 15 additions and 6 deletions
|
|
@ -1,23 +1,25 @@
|
|||
<% @contacts.each do |c| %>
|
||||
<div class="row">
|
||||
<div class="row contact-summary">
|
||||
<div class="onecol">
|
||||
[bild]
|
||||
</div>
|
||||
<div class="threecol">
|
||||
<div class="twocol">
|
||||
<strong><%= c.firstname.blank? ? " ".html_safe : c.firstname %></strong>
|
||||
<strong><%= c.lastname.blank? ? " ".html_safe : c.lastname %></strong>
|
||||
</div>
|
||||
<div class="twocol">
|
||||
<%= " ".html_safe unless c.emails.count > 0 %>
|
||||
<% c.emails.first(2).each do |e| %>
|
||||
<a href="mailto:<%= e.address %>"><%= e.address %></a><br />
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="onecol">
|
||||
<div class="threecol">
|
||||
<%= c.street + " " + c.housenr %>
|
||||
·
|
||||
<%= c.plz + " " + c.place + ", " + c.country %>
|
||||
<br />
|
||||
<%= c.plz + " " + c.place %><%= ", " unless c.country.blank? %>
|
||||
<%= c.country %>
|
||||
</div>
|
||||
<div class="fourcol">
|
||||
<div class="threecol">
|
||||
<% c.phones.first(2).each do |p| %>
|
||||
<strong><%= p.desc unless p.desc.blank? %></strong>
|
||||
<%= p.nr %><br />
|
||||
|
|
|
|||
|
|
@ -96,6 +96,13 @@ text-align: left;
|
|||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* contact list */
|
||||
.contact-summary {
|
||||
border-bottom-color: #999999;
|
||||
border-bottom-style: dotted;
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
/* Styles for entry forms. */
|
||||
|
||||
.form_content fieldset {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue