Show services menu for superusers. Add forgejo.
This commit is contained in:
parent
041bf3262a
commit
f9d4f40823
|
@ -78,13 +78,13 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
{% comment %}
|
||||
{% if user.is_superuser %}
|
||||
<li>
|
||||
<a href="{% url "services:list" %}" class="{% active_path "services:list" "current" %}">
|
||||
Services
|
||||
</a>
|
||||
</li>
|
||||
{% endcomment %}
|
||||
{% endif %}
|
||||
|
||||
<li>
|
||||
<a href="{% url "account_email" %}" class="{% active_path "account_email" "current" %}">
|
||||
|
|
|
@ -57,6 +57,15 @@ class HedgeDocService(ServiceInterface):
|
|||
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):
|
||||
"""Rallly service."""
|
||||
|
||||
|
|
Loading…
Reference in a new issue