Skip to content

Commit

Permalink
Add flag to hide admin and add ancillary links
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed May 29, 2024
1 parent 51a8c49 commit 6f802a6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions apps/accounts/templates/provider_portal/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,21 @@ <h3 class="text-xl pt-10">Your verified providers</h3>

{% endif %}

{% flag "hide_old_admin" %}
<h3 class="text-xl pt-10">Other actions</h3>

<p class="text-neutral-500 mt-8"><a href="{% url 'greenweb_admin:password_change' %}" class="text-neutral-500">Update your password</a></p>

<p class="text-neutral-500 mt-8"><a href="{% url 'green_urls_redirect' %}" class="text-neutral-500">See our list of downloadable green domain dataset snapshots</a></p>

<p class="text-neutral-500 mt-8"><a href="{% url 'greenweb_admin:check_url' %}" class="text-neutral-500">Try an extended green check for troubleshooting with support staff</a></p>

{% else %}

<p class="text-neutral-500 mt-8">Looking for the <a href="{% url 'greenweb_admin:index' %}" class="text-neutral-500">old style admin screens</a>?</p>

{% endflag %}

</div>

<div class="lg:grid grid-cols-2 gap-16 mt-10 lg:my-10">
Expand Down

0 comments on commit 6f802a6

Please sign in to comment.