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: block content
    #user
      .row
        .medium-3.columns.hide-for-small-only
            a(href="#" on-click="changeProfilePicture")
              if user.profile_picture_path
                img#picture(src=user.profile_picture_path)
              else
                img#picture(src="/img/user.svg")
  
        .medium-9.columns
          if active_user.username == user.username
            .right
              a(href="/users/"+user.username+"/edit")
                i.fa.fa-edit(title="Rediger personalia")
  
          h1= user.name 
            small= user.instrument
  
          p= user.email
            br
            = user.phone
  
          p
            = user.address
            br
            = user.postcode
            &nbsp;
            = user.city
            br
            = user.country
  
          p= user.nmf_id
  
          if user.is_active
            | Aktiv bruker
          if user.is_admin
            | Admin
  
          if active_user.is_admin
            // TODO: Set better permission checks
  