anchor.diff:            | {{country}}
           | {{/country}}
   
  -        hr
  -
  -        | {{#joined}}
  -        p
  -          | Startet {{ago(joined)}} og har NMF-nummer {{nmf_id}}
  -        | {{/joined}}
  -
  -        | {{#born}}
  -        p
  -          | Bursdag {{bday(born)}}
  -        | {{/born}}
  -
  -        hr
  -
  -        p Brukernavn <code>{{username}}</code>, passordalgoritme: <code>{{algorithm}}</code>, krypteringsstyrke: <code>{{length(salt)}}</code>
  -
           | {{#active_user.is_admin}}
           // todo: set better permission checks
           p {{reskontro}}
           | {{membership_history}}
           | {{/active_user.is_admin}}
   
  -      .medium-3.columns
  +        p Brukernavn <code>{{username}}</code>, passordalgoritme: <code>{{algorithm}}</code>, krypteringsstyrke: <code>{{length(salt)}}</code>
  +        | {{#is_active}}
  +        | Aktiv
  +        | {{/is_active}}
  +        | {{#is_admin}}
  +        | Admin
  +        | {{/is_admin}}
  +
  +
  +
  +    .row
  +      .hide-for-small-only
  +        .medium-3.columns
  +          hr
  +
  +          | {{#born}}
  +          p
  +            | Bursdag {{bday(born)}}
  +          | {{/born}}
  +
  +          | {{#joined}}
  +          p
  +            | Startet {{ago(joined)}} og har NMF-nummer {{nmf_id}}
  +          | {{/joined}}
  +
  +      .medium-9.columns
  +        hr
   
           h2 Grupper
             if !user.groups || user.groups.length === 0
  
positive.code: 
      | {{#user}}
      .row
        .medium-3.columns
          a(href="/users/{{username}}/picture" on-click="changeProfilePicture")
            | {{#profile_picture}}
            img#picture(src="{{profile_picture_path}}")
  
negative.code:           p= user.joined
            p= user.reskontro
            = user.membership_history
  
          p#username(data-username=user.username)= user.username
  
        .medium-3.columns
          if user.id==active_user.id
  