Show services menu for superusers. Add forgejo.
This commit is contained in:
parent
041bf3262a
commit
f9d4f40823
|
@ -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" %}">
|
||||||
|
|
|
@ -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."""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue