Skip to content

Commit

Permalink
Improve example home page
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Jun 17, 2024
1 parent e82cb07 commit a45bd7a
Showing 1 changed file with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ <h1 class="display-4 d-flex align-items-center">
<span class="me-2">ADIT RADIS Shared</span>
</h1>
<p class="lead">Example project of shared apps between ADIT and RADIS</p>
<p>
Active Group:
{% if not user.active_group %}
{% else %}
{{ user.active_group.name }}
{% endif %}
<small class="ms-1">[<a href="{% url 'profile' %}">Change in user profile</a>]</small>
</p>
{% endblock heading %}
{% block content %}
{{ announcement|safe }}
Expand All @@ -26,5 +17,15 @@ <h1 class="display-4 d-flex align-items-center">
<span class="ms-2">No account yet?</span>
<a href="{% url 'registration_register' %}">Register</a>
</p>
{% else %}
<p>
Active Group:
{% if not user.active_group %}
{% else %}
{{ user.active_group.name }}
{% endif %}
<small class="ms-1">[<a href="{% url 'profile' %}">Change in user profile</a>]</small>
</p>
{% endif %}
{% endblock content %}

0 comments on commit a45bd7a

Please sign in to comment.