Skip to content

Commit

Permalink
Merge pull request #178 from openhealthcare/show-other-tags-in-episod…
Browse files Browse the repository at this point in the history
…e-list

show-other-tags
  • Loading branch information
davidmiller committed Apr 27, 2017
2 parents 16bef72 + bd2b73a commit 31484a6
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions elcid/templates/episode_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ <h1 >
</div>
<div class="row">
<div class="col-md-8 col-md-push-2">
<a class="panel-link" href="[[ '/#/patient/' + row.demographics[0].patient_id]]" ng-repeat="row in rows">
<div class="panel panel-default content-offset patient-row">
<div ng-repeat="row in rows" class="panel panel-default content-offset patient-row">
<a class="panel-link" href="[[ '/#/patient/' + row.demographics[0].patient_id]]">
<div class="panel-heading">
<div class="row">
<div class="col-sm-12">
Expand Down Expand Up @@ -96,17 +96,23 @@ <h4><strong>
<h4><strong>{% icon 'fa fa-crosshairs' %}Investigations</strong></h4>
</div>
</div>

</div>
<div class="panel-footer">
<div class="text-right">
</a>
<div class="panel-footer">
<div class="row">
<div class="text-left col-md-6">
<span ng-repeat="otherTag in row.getTags() | filter:'!_client' | filter:'!' + currentTag">
<a ng-show="metadata.tags[otherTag]" class="btn btn-default pointer" href="/#/list/[[ otherTag ]]">[[ metadata.tags[otherTag].display_name ]]</a>
</span>
</div>
<div class="text-right col-md-6">
<button class="btn btn-primary" pathway-episode="row" open-pathway="remove" pathway-callback="removeFromList(row.id)">
{% icon 'fa-sign-out' %} Remove
</button>
</div>
</div>
</div>
</a>
</div>
</div>
</div>

Expand Down

0 comments on commit 31484a6

Please sign in to comment.