diff options
author | Andrew Godwin | 2022-11-17 19:21:00 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-17 17:33:09 -0700 |
commit | 291d7e404e12e1d017403242f8ed199046f0904c (patch) | |
tree | 89a60ff7f321537b6a58835aaa726f7e22ed09ba /templates/activities | |
parent | 0851fbd1ec09b142608667bf90ee806e59cafb28 (diff) | |
download | takahe-291d7e404e12e1d017403242f8ed199046f0904c.tar.gz takahe-291d7e404e12e1d017403242f8ed199046f0904c.tar.bz2 takahe-291d7e404e12e1d017403242f8ed199046f0904c.zip |
Logged out experience, config, and profiles
Diffstat (limited to 'templates/activities')
-rw-r--r-- | templates/activities/_menu.html | 38 |
1 files changed, 29 insertions, 9 deletions
diff --git a/templates/activities/_menu.html b/templates/activities/_menu.html index 6bb18c2..a671712 100644 --- a/templates/activities/_menu.html +++ b/templates/activities/_menu.html @@ -2,15 +2,35 @@ <a href="/" {% if current_page == "home" %}class="selected"{% endif %}> <i class="fa-solid fa-home"></i> Home </a> - <a href="/notifications/" {% if current_page == "notifications" %}class="selected"{% endif %}> - <i class="fa-solid fa-at"></i> Notifications - </a> - <a href="/local/" {% if current_page == "local" %}class="selected"{% endif %}> - <i class="fa-solid fa-city"></i> Local - </a> - <a href="/federated/" {% if current_page == "federated" %}class="selected"{% endif %}> - <i class="fa-solid fa-globe"></i> Federated - </a> + {% if request.user.is_authenticated %} + <a href="{% url "notifications" %}" {% if current_page == "notifications" %}class="selected"{% endif %}> + <i class="fa-solid fa-at"></i> Notifications + </a> + <a href="{% url "local" %}" {% if current_page == "local" %}class="selected"{% endif %}> + <i class="fa-solid fa-city"></i> Local + </a> + <a href="{% url "federated" %}" {% if current_page == "federated" %}class="selected"{% endif %}> + <i class="fa-solid fa-globe"></i> Federated + </a> + <h3></h3> + <a href="{% url "compose" %}" {% if top_section == "compose" %}class="selected"{% endif %}> + <i class="fa-solid fa-feather"></i> Compose + </a> + <a href="{% url "search" %}" {% if top_section == "search" %}class="selected"{% endif %}> + <i class="fa-solid fa-search"></i> Search + </a> + <a href="{% url "settings" %}" {% if top_section == "settings" %}class="selected"{% endif %}> + <i class="fa-solid fa-gear"></i> Settings + </a> + {% else %} + <a href="/local/" {% if current_page == "local" %}class="selected"{% endif %}> + <i class="fa-solid fa-city"></i> Local Posts + </a> + <h3></h3> + <a href="/auth/signup/" {% if current_page == "signup" %}class="selected"{% endif %}> + <i class="fa-solid fa-user-plus"></i> Create Account + </a> + {% endif %} </nav> {% if current_page == "home" %} |