Skip to content

Commit

Permalink
Merge pull request #558 from Muirrum/link-projectionist-profiles
Browse files Browse the repository at this point in the history
Link to Projectionist Profiles from Standard List
  • Loading branch information
tnurse18 committed Oct 25, 2021
2 parents b81d0b8 + 1bbd89e commit dc40a81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projection/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def plist_detail(request):
users = Projectionist.objects \
.select_related('user')

licensed = Q(pitinstances__pit_level__name_short__in=['PP', 'L'])
licensed = Q(pitinstances__pit_level__name_short__in=['L'])
alumni = Q(user__groups__name="Alumni")

context['current_users'] = users.exclude(alumni)
Expand Down
2 changes: 1 addition & 1 deletion site_tmpl/projectionlist_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2> {{ h2 }} </h2>
<span class="label label-info">Licensed</span>
{% endif %}
{% else %}
{{ user }}
<a href="{% url "accounts:detail" user.id %}">{{ user }} </a>
{% if user in licensed_users %}
<span class="label label-info">Licensed</span>
{% endif %}
Expand Down

0 comments on commit dc40a81

Please sign in to comment.