Skip to content

Commit

Permalink
Lock features for spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
awallenfang committed Jan 19, 2025
1 parent 421f266 commit ea9bc93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions hub/templates/hub/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
<header>
<div class="header-section">
<a href="{% url 'hub:hub' %}" class="button">Hub</a>
{% comment %} <a href="{% url 'transactions:transactions' %}" class="button">Transactions</a> {% endcomment %}
<a href="{% url 'todos:todos' %}" class="button">Todos</a>
{% if selected_space %}
<a href="{% url 'todos:todos' %}" class="button">Todos</a>
{% endif %}
</div>
<div class="header-section">
<div class="space-dropdown">
Expand Down
3 changes: 2 additions & 1 deletion todos/views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from functools import wraps
from django.http import HttpResponse
from django.shortcuts import render
from django.shortcuts import render, redirect
from django.views.decorators.http import require_http_methods
from django.contrib.auth.decorators import login_required
from django.shortcuts import get_object_or_404
Expand Down

0 comments on commit ea9bc93

Please sign in to comment.