Skip to content

Commit

Permalink
Updated styling of contact details again to closer match proposed sty…
Browse files Browse the repository at this point in the history
…ling of pods with actions
  • Loading branch information
rowanseymour committed Jul 21, 2016
1 parent 505467a commit cdb72b7
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions templates/cases/case_read.haml
Original file line number Diff line number Diff line change
Expand Up @@ -142,21 +142,22 @@
.panel.panel-default{ ng-if:"contact" }
.panel-heading
- trans "Contact"
.pull-away
%a.btn.btn-default.btn-xs{ ng-href:"/contact/read/[[ caseObj.contact.id ]]/" }
- trans "View"
.list-group
.panel-body
.container-fluid
.list-group-item.row
.col-sm-6
.row
.contact-field-label.col-sm-6
- trans "Name"
.col-sm-6
.contact-field-value.col-sm-6
[[ caseObj.contact.name ]]
.list-group-item.row{ ng-repeat:"field in fields" }
.col-sm-6
.row{ ng-repeat:"field in fields" }
.contact-field-label.col-sm-6
[[ field.label ]]
.col-sm-6
.contact-field-value.col-sm-6
[[ contact.fields[field.key] ]]
.list-group
%a.list-group-item.centered{ ng-href:"/contact/read/[[ caseObj.contact.id ]]/" }
%span.text-primary
- trans "View"


- block extra-style
Expand Down Expand Up @@ -222,3 +223,6 @@
padding: 0.5em 0 0 2em;
font-style: italic;
}
.contact-field-label {
font-weight: bold;
}

0 comments on commit cdb72b7

Please sign in to comment.