From 28841c58d6a481f71ed46137e69c40638f3c258b Mon Sep 17 00:00:00 2001 From: Etzelia Date: Fri, 12 Oct 2018 21:52:05 -0500 Subject: [PATCH] Spacing Added one more space between glyphicons and text to relieve cramping --- templatetags/sidebar.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/templatetags/sidebar.py b/templatetags/sidebar.py index 8d07aec..8bae2c4 100644 --- a/templatetags/sidebar.py +++ b/templatetags/sidebar.py @@ -15,24 +15,24 @@ def get_sidebar(current_app, request): if len(unseen_alerts) > 0: unseen_html = " " + str(len(unseen_alerts)) + "" - ret = '
  • Overview
  • '.format('class="active"' if current_app == 'overview' else "", reverse('overview')) - ret += '
  • Bans
  • '.format('class="active"' if current_app == 'ban' else '', reverse('ban')) - ret += '
  • Alerts{}
  • '.format('class="active"' if current_app == 'alert' else '', reverse('alert'), unseen_html) + ret = '
  •   Overview
  • '.format('class="active"' if current_app == 'overview' else "", reverse('overview')) + ret += '
  •   Bans
  • '.format('class="active"' if current_app == 'ban' else '', reverse('ban')) + ret += '
  •   Alerts{}
  • '.format('class="active"' if current_app == 'alert' else '', reverse('alert'), unseen_html) # Models - ret += '
  • Applications
  • '.format('class="active"' if current_app == 'application' else '', reverse('application')) - ret += '
  • Players
  • '.format('class="active"' if current_app == 'player' else '', reverse('player')) - ret += '
  • Tickets
  • '.format('class="active"' if current_app == 'ticket' else '', reverse('ticket')) - ret += '
  • Warnings
  • '.format('class="active"' if current_app == 'warning' else '', reverse('warning')) + ret += '
  •   Applications
  • '.format('class="active"' if current_app == 'application' else '', reverse('application')) + ret += '
  •   Players
  • '.format('class="active"' if current_app == 'player' else '', reverse('player')) + ret += '
  •   Tickets
  • '.format('class="active"' if current_app == 'ticket' else '', reverse('ticket')) + ret += '
  •   Warnings
  • '.format('class="active"' if current_app == 'warning' else '', reverse('warning')) # Split up MCM and "other" ret += "
    " - ret += '
  • Report
  • '.format('class="active"' if current_app == 'report' else '', reverse('report')) + ret += '
  •   Report
  • '.format('class="active"' if current_app == 'report' else '', reverse('report')) show_chat = True if getattr(settings, 'GLOBAL_LOG', None) is not None else False if show_chat and request.user.has_perm('auth.chat'): - ret += '
  • Chat
  • '.format('class="active"' if current_app == 'chat' else '', reverse('chat')) + ret += '
  •   Chat
  • '.format('class="active"' if current_app == 'chat' else '', reverse('chat')) if request.user.has_perm('auth.bots'): - ret += '
  • Bots
  • '.format('class="active"' if current_app == 'bots' else '', reverse('bots')) + ret += '
  •   Bots
  • '.format('class="active"' if current_app == 'bots' else '', reverse('bots')) return ret