Skip to content

Commit

Permalink
Hide ticketing widget for a member (#1808)
Browse files Browse the repository at this point in the history
  • Loading branch information
vidya-ram authored Jul 20, 2023
1 parent 83a081b commit 26b29fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion funnel/templates/project_layout.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
</div>
</div>

{% if not project.state.PAST and project.features.tickets() -%}
{% if project.features.tickets() -%}
<div class="tickets-wrapper">
<div class="tickets-wrapper__modal tickets-wrapper__modal--project-page">
<div class="mui--hidden-md mui--hidden-lg mui--hidden-xl tickets-wrapper__modal__back mobile-nav-wrapper">
Expand Down
1 change: 1 addition & 0 deletions funnel/views/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def feature_project_tickets(obj: Project) -> bool:
and 'item_collection_id' in obj.boxoffice_data
and obj.boxoffice_data['item_collection_id']
and not obj.state.PAST
and not obj.current_roles.ticket_participant
)


Expand Down

0 comments on commit 26b29fe

Please sign in to comment.