mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 12:17:08 +00:00
Fix cave pages to have entrances and description on one page.
Fixes broken links on description and entrance pages. Removes need for jquery-ui.
This commit is contained in:
@@ -78,6 +78,7 @@ def caveDescription(request, slug):
|
||||
return render_with_context(request,'nonpublic.html', {'instance': cave})
|
||||
else:
|
||||
return render_with_context(request,'cave_uground_description.html', {'cave': cave})
|
||||
|
||||
def caveQMs(request, slug):
|
||||
cave = Cave.objects.get(caveslug__slug = slug)
|
||||
if cave.non_public and settings.PUBLIC_SITE and not request.user.is_authenticated():
|
||||
|
||||
Reference in New Issue
Block a user