Skip to content

Commit

Permalink
Applies muted styling to children of muted contacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
dianabarsan committed Dec 3, 2018
1 parent 2bb817b commit 66d0112
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/src/templates/partials/contacts_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ <h3 translate>clinic.field.children</h3>
heading="child.doc.name"
summary="child.doc.title"
primary-contact="child.isPrimaryContact"
is-muted="child.doc.muted && !selected.doc.muted"
is-muted="child.doc.muted"
display-muted="true"
/>
</ul>
Expand All @@ -98,7 +98,7 @@ <h3 translate>clinic.field.children</h3>
dob="child.doc.date_of_birth"
primary-contact="child.isPrimaryContact"
task-count="child.taskCount"
is-muted="child.doc.muted && !selected.doc.muted"
is-muted="child.doc.muted"
display-muted="true"
/>
</ul>
Expand All @@ -124,7 +124,7 @@ <h3 translate>{{selected.children.childPlacesLabel}}</h3>
route="'contacts'"
heading="child.doc.name"
summary="'contact.primary_contact_name' | translate:child.doc.contact"
is-muted="child.doc.muted && !selected.doc.muted"
is-muted="child.doc.muted"
display-muted="true"
/>
</ul>
Expand Down

0 comments on commit 66d0112

Please sign in to comment.