You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2025/05/30 13:01:33 UTC
(tooling-trusted-release) branch main updated: Remove the projects link from the sidebar
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 <se...@miscoranda.com>
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: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org