mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-04 19:39:38 +00:00
Added new design
This commit is contained in:
@@ -7,5 +7,5 @@ register = template.Library()
|
||||
@register.simple_tag
|
||||
def class_active(request, pattern):
|
||||
if re.search(pattern, request.path):
|
||||
return 'active'
|
||||
return 'class="active"'
|
||||
return ''
|
||||
Reference in New Issue
Block a user