<commit_before>extends ../layouts/main

block content
  .row
    .columns.large-8.medium-10.large-centered.medium-centered
      #forum

  script#template(type="text/ractive")
    | {{#post}}
    article#post
      header
        h1 {{title}}
        .meta
          .row
            .columns.small-9
              span.byline Av 
                a(href="/users/{{creator.username}}") {{creator.name}}
              time.created(datetime="{{isodate(created)}}") {{shortdate(created)}}
            .columns.small-3.text-right.creator
              i.fa.fa-globe(title="Tilgjengelig for alle")
              i.fa.fa-users(title="Tilgjengelig for alle medlemmer")
              i.fa.fa-user(title="Tilgjengelig bare for deg")

      .content
        .row
          .columns {{{marked(mdtext)}}}

      section#replies.dtborder
        .row
          | {{#active_user.profile_picture_path}}
          img(src="{{active_user.profile_picture_path}}").columns.small-2
          | {{/active_user.profile_picture_path}}
          | {{^active_user.profile_picture_path}}
          img(src="/img/user.svg").columns.small-2<commit_msg>Use dynamic permission icons on forum thread page<commit_after>extends ../layouts/main

block content
  .row
    .columns.large-8.medium-10.large-centered.medium-centered
      #forum

  script#template(type="text/ractive")
    | {{#post}}
    article#post
      header
        h1 {{title}}
        .meta
          .row
            .columns.small-9
              span.byline Av 
                a(href="/users/{{creator.username}}") {{creator.name}}
              time.created(datetime="{{isodate(created)}}") {{shortdate(created)}}
            .columns.small-3.text-right.creator
              permissionicons(permissions="{{permissions}}")

      .content
        .row
          .columns {{{marked(mdtext)}}}

      section#replies.dtborder
        .row
          | {{#active_user.profile_picture_path}}
          img(src="{{active_user.profile_picture_path}}").columns.small-2
          | {{/active_user.profile_picture_path}}
          | {{^active_user.profile_picture_path}}
          img(src="/img/user.svg").columns.small-2
{'fraction_non_alphanumeric': 0.14723641430562007, 'fraction_numerical': 0.0074314909428704135, 'mean_word_length': 2.117221418234443, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5192172', 'n_tokens_mistral': 672, 'n_tokens_neox': 645, 'n_words': 86}