Skip to content

Commit

Permalink
modified formatting for active branch banners
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-wm-arthur committed Jun 7, 2021
1 parent efd75e4 commit 1d2e829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dolt/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ def process_view(self, request, view_func, view_args, view_kwargs):
messages.warning(
request,
mark_safe(
f"""<h4 class="text-center">branch not found: {branch}</h4>"""
f"""<div class="text-center">branch not found: {branch}</div>"""
),
)
# verify the active branch
active = Branch.active_branch()
# inject the "active branch" banner
messages.info(
request,
mark_safe(f"""<h4 class="text-center">active branch: {active}</h4>"""),
mark_safe(f"""<div class="text-center">active branch: {active}</div>"""),
)

return view_func(request, *view_args, **view_kwargs)
Expand Down

0 comments on commit 1d2e829

Please sign in to comment.