Skip to content

Commit

Permalink
Hide tag index behind a flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed Jul 11, 2024
1 parent 6a8fe0a commit c1b5bd4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cl8/templates/_profile_empty.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ <h2 class="text-xl font-normal">
Want to see what people see for your profile?
<a href="{% url 'profile-detail' request.user.profile.short_id %}">Go to your profile</a> where you can make changes.
</h2>
{% comment %} hide big list of tags behind a details html element {% endcomment %}

{% flag "homepage_tag_index" %}

<details>
<summary>See the full directory tag list</summary>
<div class="tag-listings mt-4">
Expand Down Expand Up @@ -42,5 +44,7 @@ <h3>{{ tag_group }}</h3>
{% endif %}
</div>
</details>

{% endflag %}
</div>
<script src="{% static 'js/profile-page.js' %}"></script>

0 comments on commit c1b5bd4

Please sign in to comment.