Skip to content

#dev

John Smith: 2019-10-04 07:34

Hi @Jane Doe, what would be the best way to implement a gate for upgraded users?


Jane Doe: 2019-10-05 09:20

Hey @John Smith. there's not a "one size fits all" answer to that because the current implementation of teams leaves a lot up to you on how you want to implement. But it's something I'd love to improve on

to just hide it in the UI, you'd want to edit app_nav.html and then add something like

{% if user.is_upgraded %}
 <li>
   <a href="">Upgrade only content</a>
  </li>
{% endif %}

John Smith: 2019-10-04 07:34

Great, thanks I will try that.