Skip to content

Commit

Permalink
adds in a modal that renames antimicrobial to medication history refs #…
Browse files Browse the repository at this point in the history
  • Loading branch information
fredkingham committed Jan 28, 2019
1 parent 2d30e8a commit 46db69e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/tb/templates/detail/tb.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
{% record_panel models.BCG %}
{% record_panel models.TBHistory %}
{% record_panel models.Travel %}
{% record_panel models.Antimicrobial title="Medication History" %}
{% record_panel models.Observation %}
{% record_panel models.MantouxTest %}
{% record_panel models.Treatment %}
</div>
{% include 'panels/nationality.html' %}
{% record_panel models.TBHistory %}
{% include "panels/symptoms.html" %}
{% record_panel models.Antimicrobial title="Medication History" %}
<div ng-show="episode.patient_consultation.length" class="panel panel-default hidden-print">
<div class="panel-body">
<div class="patient-timeline-container">
Expand Down
12 changes: 12 additions & 0 deletions apps/tb/templates/modals/antimicrobial_modal.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% extends "base_templates/form_modal_base.html" %}
{% block title %}
<span ng-show="episode.category_name === 'TB'">
Medication History
<span ng-show="profile.can_see_pid() && editingName">
([[ editingName]])
</span>
</span>
<span ng-show="episode.category_name !== 'TB'">
{{ block.super }}
</span>
{% endblock %}

0 comments on commit 46db69e

Please sign in to comment.