Skip to content
Snippets Groups Projects
Commit ee440292 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Remove chronos dependency and unnecessary rooms attribute

parent 0d871b4e
No related branches found
No related tags found
1 merge request!10Resolve "Remove hard dependency on Chronos"
......@@ -10,7 +10,6 @@ from constance import config
from .mailer import send_mail_with_template
from aleksis.apps.chronos.models import Room
from aleksis.core.models import Activity
......@@ -130,10 +129,8 @@ def rebus(request):
else:
form = IssueForm()
rooms = [room.name for room in Room.objects.all()]
return render(
request, "hjelp/rebus.html", {"form": form, "props": {"rooms": "rooms"}}
request, "hjelp/rebus.html", {"form": form}
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment