anchor.diff:      |  {{ref.location}}
   .row
       b Cited by:
  -    text(ng-if="current_user.isSupervisor()")  {{ref.author.firstName}} {{ref.author.lastName}}
  -    text(ng-if="!current_user.isSupervisor() && ref.author._id!==current_user._id")  {{ref.author.role}}
  -    text(ng-if="!current_user.isSupervisor() && ref.author._id===current_user._id")  you
  +    text(ng-if="identity.currentUser.isSupervisor()")  {{ref.author.firstName}} {{ref.author.lastName}}
  +    text(ng-if="!identity.currentUser.isSupervisor() && ref.author._id!==identity.currentUser._id")  {{ref.author.role}}
  +    text(ng-if="!identity.currentUser.isSupervisor() && ref.author._id===identity.currentUser._id")  you
       |  on {{ref.date | date: 'MM/dd/yyyy'}}
   .row(ng-if="ref.citation_type === 'interview'")
       b Interviewed:
  
positive.code: .row(ng-if="ref.document_ID.type === 'web_page' && ref.citation_type !== 'interview'")
      b Source:
      a(href="{{ref.document_ID.source}}" target="_blank")  {{ref.document_ID.source}}
  .row(ng-if="ref.citation_type === 'interview' && (current_user.isSupervisor() || ref.author._id===current_user._id)")
      b Contact:
      |  {{ref.interviewee_ID.firstName}} {{ref.interviewee_ID.lastName}} ({{ref.interviewee_ID.role}})
  .row(ng-if="ref.citation_type === 'interview' && (!current_user.isSupervisor() && ref.author._id!==current_user._id)")
      b Contact:
      em  {{ref.interviewee_ID.role | ucfirst}}
  .row(ng-if="ref.citation_type !== 'interview'")
  
negative.code: .row
      b Type:
      u: em(ng-if="ref.citation_type === 'interview'")  {{ref.citation_type | ucfirst}}
      span(ng-if="identity.currentUser.isSupervisor()")
          u: em(ng-if="ref.citation_type === 'document'")  {{ref.document_ID.type | addSpaces | ucfirst}}
      span(ng-if="!identity.currentUser.isSupervisor()")
          u: em(ng-if="ref.citation_type === 'document'")
              span(ng-if="['book', 'data_file', 'journal', 'parliamentary_meeting_note', 'policy_document', 'web_page', 'generic'].indexOf(ref.document_ID.type) > -1")  {{ref.document_ID.type | addSpaces | ucfirst}}
              span(ng-if="['book_section', 'encyclopedia_article'].indexOf(ref.document_ID.type) > -1")  Book Chapter
  