File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
python-django-audit-logs-example/audit_logs Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 2222 </ div >
2323 </ a >
2424 < div class ="flex sidebar-button selected ">
25- < div > {% icon "settings " %}</ div >
25+ < div > {% icon "edit " %}</ div >
2626 < div >
2727 < p > Audit Logs</ p >
2828 </ div >
6565 < div class ="flex flex-start ">
6666 < div class ="flex-column flex-start ">
6767 < div data-tab-target ="#send-events " name ='#send-events ' class ="flex space-evenly width-11vw content-button tab ">
68- < div > {% icon "settings " %}</ div >
68+ < div > {% icon "send " %}</ div >
6969 < div >
7070 < a href ="#send-events " class ="remove-style "> < button class ="remove-style "> Send Events</ button > </ a >
7171 </ div >
7272 </ div >
7373 < div data-tab-target ="#export-events " name ='#export-events ' class ="flex space-evenly width-11vw content-button tab ">
74- < div > {% icon "settings " %}</ div >
74+ < div > {% icon "download " %}</ div >
7575 < div >
7676 < a href ="#export-events " class ="remove-style "> < button class ="remove-style "> Export Events</ button > </ a >
7777 </ div >
7878 </ div >
7979 < div class ="flex space-evenly width-11vw content-button tab ">
80- < div > {% icon "settings " %}</ div >
80+ < div > {% icon "eye " %}</ div >
8181 < div >
82- < a href ="/events " class ="remove-style "> < button class ="remove-style "> Event Stream</ button > </ a >
82+ < a href ="/events?intent=audit_logs " class ="remove-style "> < button class ="remove-style "> View Events</ button > </ a >
83+ </ div >
84+ </ div >
85+ < div class ="flex space-evenly width-11vw content-button tab ">
86+ < div > {% icon "share_2" %}</ div >
87+ < div >
88+ < a href ="/events?intent=log_streams " class ="remove-style "> < button class ="remove-style "> Configure Log Streams</ button > </ a >
8389 </ div >
8490 </ div >
8591 </ div >
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ def get_events(request):
171171@csrf_exempt
172172def events (request ):
173173 link = workos .client .portal .generate_link (
174- organization = request .session ["organization_id" ], intent = "audit_logs"
174+ organization = request .session ["organization_id" ], intent = request . GET [ 'intent' ]
175175 )
176176 return redirect (link ["link" ])
177177
You can’t perform that action at this time.
0 commit comments