This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git
The following commit(s) were added to refs/heads/main by this push:
new bebba17 Remove the projects link from the sidebar
bebba17 is described below
commit bebba172fce97184a41a74c5bac9b72f4c1739e7
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri May 30 14:01:17 2025 +0100
Remove the projects link from the sidebar
---
atr/templates/includes/sidebar.html | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/atr/templates/includes/sidebar.html
b/atr/templates/includes/sidebar.html
index 9b2fead..cbdc011 100644
--- a/atr/templates/includes/sidebar.html
+++ b/atr/templates/includes/sidebar.html
@@ -82,10 +82,12 @@
<i class="bi bi-collection"></i>
<a href="{{ as_url(routes.committees.directory) }}">Committees</a>
</li>
- <li>
- <i class="bi bi-collection"></i>
- <a href="{{ as_url(routes.projects.projects) }}">Projects</a>
- </li>
+ {% if current_user.uid == "sbp" %}
+ <li>
+ <i class="bi bi-collection"></i>
+ <a href="{{ as_url(routes.projects.projects) }}">Projects</a>
+ </li>
+ {% endif %}
</ul>
<h3>Documentation</h3>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]