anchor.diff:                                  a(href='{% url "contest_view" CONTEST.contest.key %}', style='vertical-align: middle;')
                                       | #{CONTEST.contest.name} -
                                       #contest-time-remaining #{CONTEST.time_remaining | timedelta:"simple"}
  -                        if perms.test_site
  -                            li(style='float: right; width: 124px; height: 44px;text-transform: none;')
  -                                a(href='{% url "user_page" %}', style='display: block; padding: 0px; height: 100%;')
  -                                    div(style='font-size: 13px; height: 100%; padding-top: 8px;')
  -                                        img(src='{% gravatar_url request.user.email 135 request.user.profile.mute %}', style='vertical-align: middle; border-radius: 6px; display: inline; margin-right: 3px; margin-top: 2px; margin-left: 5px;', height='24', width='24')
  -                                        span(style='color: rgb(238, 238, 238); vertical-align: middle; display: inline; text-transform: unset; margin-top: 11px; padding: 0px; margin-right: 5px;')
  -                                            | Hello,&nbsp;
  -                                            b #{request.user.username}
  -                        else
  +                        if not perms.test_site
                               a(href='{% url "user_page" %}')
                                   | Hello,&nbsp;
                                   b #{request.user.username}
  
positive.code: - load cache
  - load mptt_tags
  - load compress
  
  html(lang='en')
      head
  
negative.code:                             if not node.is_leaf_node
                                  ul {{ children }}
                      - endrecursetree
                      if perms.test_site
                          li(style='float: right; width: 124px; height: 44px;text-transform: none;')
                              a(href='{% url "user_page" %}', style='display: block; padding: 0px; height: 100%;')
                                  div(style='font-size: 13px; height: 100%; padding-top: 8px;')
                                      img(src='{% gravatar_url request.user.email 135 request.user.profile.mute %}', style='vertical-align: middle; border-radius: 6px; display: inline; margin-right: 3px; margin-top: 2px; margin-left: 5px;', height='24', width='24')
                                      span(style='color: rgb(238, 238, 238); vertical-align: middle; display: inline; text-transform: unset; margin-top: 11px; padding: 0px; margin-right: 5px;')
                                          | Hello,&nbsp;
                                          b #{request.user.username}
                  span#user-links(style='text-align: right')
                      if request.user.is_authenticated
                          if IN_CONTEST
  