Skip to content

Commit

Permalink
tweak lists
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmiller committed Mar 22, 2016
1 parent 9cd3f00 commit c5c360f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion elcid/patient_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class MalboroughClinic(TaggedPatientList):
class Renal(TaggedPatientList):
display_name = 'Renal'
direct_add = True
tag = "rnoh_wardround"
tag = "renal"
template_name = 'episode_list.html'
schema = []

Expand Down
14 changes: 11 additions & 3 deletions elcid/templates/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,21 @@ <h3 class="no-margins">Patient Lists</h3>
<div class="row content-offset-25">
<div class="col-md-12 text-center content-offset-below">
<div class="btn-group" dropdown is-open="status.isopen">
<button type="button" class="btn btn-lg btn-secondary dropdown-toggle" ng-disabled="disabled">
<button type="button" class="btn btn-secondary dropdown-toggle" ng-disabled="disabled">
<i class="fa fa-user-md"></i>
Teams
[[ tag_display[currentTag] ]] / [[ tag_display[currentSubTag] ]]
<i class="fa fa-angle-down"></i>
</button>
<ul class="dropdown-menu slides" role="menu">
<li ng-repeat="i in welcome.tagList"><a href="/#/list/[[ welcome.toLink(i) ]]">[[ i ]]</a></li>
{% for list in lists %}
{% if list.get_slug != list_slug %}
<li>
<a href="#/list/{{ list.get_slug }}">
{{ list.display_name }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
Expand Down

0 comments on commit c5c360f

Please sign in to comment.