Show services menu for superusers. Add forgejo.

This commit is contained in:
Víðir Valberg Guðmundsson 2024-12-23 00:44:25 +01:00
parent 041bf3262a
commit f9d4f40823
2 changed files with 11 additions and 2 deletions

View file

@ -78,13 +78,13 @@
</a> </a>
</li> </li>
{% comment %} {% if user.is_superuser %}
<li> <li>
<a href="{% url "services:list" %}" class="{% active_path "services:list" "current" %}"> <a href="{% url "services:list" %}" class="{% active_path "services:list" "current" %}">
Services Services
</a> </a>
</li> </li>
{% endcomment %} {% endif %}
<li> <li>
<a href="{% url "account_email" %}" class="{% active_path "account_email" "current" %}"> <a href="{% url "account_email" %}" class="{% active_path "account_email" "current" %}">

View file

@ -57,6 +57,15 @@ class HedgeDocService(ServiceInterface):
description = "HedgeDoc service for data.coop" description = "HedgeDoc service for data.coop"
class ForgejoService(ServiceInterface):
"""Forgejo service."""
slug = "forgejo"
name = "Forgejo"
url = "https://git.data.coop"
description = "Git service for data.coop"
class RalllyService(ServiceInterface): class RalllyService(ServiceInterface):
"""Rallly service.""" """Rallly service."""