<commit_before><div class="wrapper">

  {{> header_navigation}}

	<!--=== Breadcrumbs ===-->
	<div class="breadcrumbs">
		<div class="container">
			<h1 class="pull-left">
				<a href="/board/free">{{TRANSLATION "board.name.free"}}</a></h1>
			<ul class="pull-right breadcrumb">
				<li><a href="/board/free/posts">{{TRANSLATION "board.free.breadcrumbs.posts"}}</a>
				</li>
				<li>
					<a href="/board/free/comments">{{TRANSLATION "board.free.breadcrumbs.comments"}}</a>
				</li>
			</ul>
		</div><!--/container-->
	</div><!--/breadcrumbs-->
	<!--=== End Breadcrumbs ===-->

	<!--=== Content Part ===-->
	<div class="container content blog-page blog-item" ng-controller="boardFreeCtrl">

		<!-- Buttons -->
		<div class="margin-bottom-10">
			<button type="button" class="btn-u btn-brd rounded" ng-click="backToList()" tooltip-popup-close-delay="300" uib-tooltip="{{TRANSLATION "board.list"}}">
				<i class="fa fa-list"></i>
			</button>

    {{#if prevPost}}
      <button type="button" class="btn-u btn-brd rounded" ng-click="prevPost()"
        tooltip-popup-close-delay="300" uib-tooltip="{{TRANSLATION "common.button.prev"}}">
        <i class="fa fa-chevron-left"></i>
      </button>
    {{else}}
      <button type="button" class="btn-u btn-brd rounded btn-u-default disabled" disabled="disabled">
        <i class="fa fa-chevron-left text-muted"></i>
      </button>
    {{/if}}

    {{#if nextPost}}
      <button type="button" class="btn-u btn-brd rounded" ng-click="nextPost()"
        tooltip-popup-close-delay='300' uib-tooltip="{{TRANSLATION  "common.button.next"}}">
        <i class="fa fa-chevron-right"></i>
      </button>
    {{else}}
      <button type="button" class="btn-u btn-brd rounded btn-u-default disabled" disabled="disabled">
        <i class="fa fa-chevron-right text-muted"></i>
      </button>
    {{/if}}

    {{#if (OPR '&&' isAuthenticated (EQ userInfo.id post.writer.userId))}}
      <button type="button" class="btn-u rounded" ng-click="confirmEdit();">
        <i class="fa fa-pencil-square-o"></i>{{TRANSLATION "common.button.edit"}}
      </button>
      <button type="button" class="btn-u btn-u-default rounded" ng-click="confirmDelete();">
        <i class="fa fa-trash-o"></i>{{TRANSLATION "common.button.delete"}}
      </button>
    {{/if}}

    {{#if (OPR '&&' isAdmin (NOT_EQ post.status.notice 'DELETE'))}}
      {{#if (EQ post.status.notice 'NOTICE')}}
        <button type="button" class="btn-u btn-u-default rounded" onclick="location='/board/notice/cancel/{{post.seq}}'">
          {{TRANSLATION "common.button.cancel.notice"}}
        </button>
      {{else}}
        <button type="button" class="btn-u rounded" onclick="location='/board/notice/set/{{post.seq}}'">
          {{TRANSLATION "common.button.set.as.notice"}}
        </button>
      {{/if}}
    {{/if}}
		</div> <!-- End Buttons -->

  {{#if (EQ result 'setNotice')}}
    <div class="contex-bg"><p class="bg-success rounded">{{TRANSLATION "board.msg.set.as.notice"}}</p></div>
  {{else if (EQ result 'cancelNotice')}}
    <div class="contex-bg"><p class="bg-success rounded">{{TRANSLATION "board.msg.cancel.notice"}}</p></div>
  {{else if (EQ result 'alreadyNotice')}}
    <div class="contex-bg"><p class="bg-danger rounded">{{TRANSLATION "board.msg.error.already.notice"}}</p></div>
  {{else if (EQ result 'alreadyNotNotice')}}
    <div class="contex-bg"><p class="bg-danger rounded">{{TRANSLATION "board.msg.error.already.not.notice"}}</p></div>
  {{else if (EQ result 'existComment')}}
    <div class="contex-bg"><p class="bg-danger rounded">{{TRANSLATION "board.msg.error.can.not.delete.post"}}</p></div>
  {{else if (EQ result 'emptyComment')}}
    <div class="contex-bg"><p class="bg-danger rounded">{{TRANSLATION "board.msg.error.can.not.delete.post.except.comment"}}</p></div>
  {{/if}}

		<!--Blog Post-->
		<div class="blog margin-bottom-20">
			<h2>
				<small>
					{{#if (EQ post.status.device 'MOBILE')}}<span aria-hidden="true" class=" icon-screen-smartphone"></span>{{/if}}
          {{#if (EQ post.status.device 'TABLET')}}<span aria-hidden="true" class=" icon-screen-tablet"></span>{{/if}}
          {{#if galleries}}<span aria-hidden="true" class="icon-picture"></span>{{/if}}
				</small>
      {{#if (EQ post.status.delete 'DELETE')}}
        {{TRANSLATION "board.msg.deleted"}}
      {{else}}
        {{post.subject}}
      {{/if}}
      {{#if post.category}}
        <small><span aria-hidden="true" class="icon-directions"></span> {{CATEGORY_NAME post.category locale}}</small>
      {{/if}}
			</h2>
			<div class="blog-post-tags">
				<ul class="list-unstyled list-inline blog-info">
					<li><span aria-hidden="true" class="icon-user"></span> {{post.writer.username}}</li>
					<li>{{DATE_FORMAT (DATE_BY_ID post.id) 'LLL' ../locale}}</li>
					<li><span aria-hidden="true" class="icon-eye"></span> {{post.views}}</li>
				</ul>
			</div>

      {{#if (EQ post.status.delete 'DELETE')}}
        <p>{{TRANSLATION "board.msg.deleted"}}</p>
      {{else}}
        <p>{{{post.content}}}</p>
      {{/if}}

			<!-- galleries -->
			{{#if post.galleries}}
				<ul class="list-group">
					<li class="list-group-item">
						<strong>{{TRANSLATION "board.gallery.list"}}</strong>
						{{#each post.galleries}}
							<div>
								<span aria-hidden="true" class="icon-paper-clip"></span>
								<a href="/gallery/view/{{id}}">{{name}}</a> | {{SIZE_FORMAT size}}
							</div>
            {{/each}}
					</li>
				</ul>
      {{/if}}

			<!-- buttons -->
			<div class="ladda-btn margin-bottom-10">
				<div class="row">
					<div class="col-xs-6">
						<button type="button" class="btn-u btn-u-sm btn-u-blue rounded ladda-button"
							ng-click="btnFeeling('LIKE')" ng-init="numberOfLike={{ARRAY_SIZE post.usersLiking}}"
							ladda="btnLike" data-style="expand-right" data-spinner-color="Gainsboro"
							tooltip-popup-close-delay="300" uib-tooltip="{{TRANSLATION "common.button.like"}}"><commit_msg>첨부이미지 이름 표시 누락<commit_after><div class="wrapper">

  {{> header_navigation}}

	<!--=== Breadcrumbs ===-->
	<div class="breadcrumbs">
		<div class="container">
			<h1 class="pull-left">
				<a href="/board/free">{{TRANSLATION "board.name.free"}}</a></h1>
			<ul class="pull-right breadcrumb">
				<li><a href="/board/free/posts">{{TRANSLATION "board.free.breadcrumbs.posts"}}</a>
				</li>
				<li>
					<a href="/board/free/comments">{{TRANSLATION "board.free.breadcrumbs.comments"}}</a>
				</li>
			</ul>
		</div><!--/container-->
	</div><!--/breadcrumbs-->
	<!--=== End Breadcrumbs ===-->

	<!--=== Content Part ===-->
	<div class="container content blog-page blog-item" ng-controller="boardFreeCtrl">

		<!-- Buttons -->
		<div class="margin-bottom-10">
			<button type="button" class="btn-u btn-brd rounded" ng-click="backToList()" tooltip-popup-close-delay="300" uib-tooltip="{{TRANSLATION "board.list"}}">
				<i class="fa fa-list"></i>
			</button>

    {{#if prevPost}}
      <button type="button" class="btn-u btn-brd rounded" ng-click="prevPost()"
        tooltip-popup-close-delay="300" uib-tooltip="{{TRANSLATION "common.button.prev"}}">
        <i class="fa fa-chevron-left"></i>
      </button>
    {{else}}
      <button type="button" class="btn-u btn-brd rounded btn-u-default disabled" disabled="disabled">
        <i class="fa fa-chevron-left text-muted"></i>
      </button>
    {{/if}}

    {{#if nextPost}}
      <button type="button" class="btn-u btn-brd rounded" ng-click="nextPost()"
        tooltip-popup-close-delay='300' uib-tooltip="{{TRANSLATION  "common.button.next"}}">
        <i class="fa fa-chevron-right"></i>
      </button>
    {{else}}
      <button type="button" class="btn-u btn-brd rounded btn-u-default disabled" disabled="disabled">
        <i class="fa fa-chevron-right text-muted"></i>
      </button>
    {{/if}}

    {{#if (OPR '&&' isAuthenticated (EQ userInfo.id post.writer.userId))}}
      <button type="button" class="btn-u rounded" ng-click="confirmEdit();">
        <i class="fa fa-pencil-square-o"></i>{{TRANSLATION "common.button.edit"}}
      </button>
      <button type="button" class="btn-u btn-u-default rounded" ng-click="confirmDelete();">
        <i class="fa fa-trash-o"></i>{{TRANSLATION "common.button.delete"}}
      </button>
    {{/if}}

    {{#if (OPR '&&' isAdmin (NOT_EQ post.status.notice 'DELETE'))}}
      {{#if (EQ post.status.notice 'NOTICE')}}
        <button type="button" class="btn-u btn-u-default rounded" onclick="location='/board/notice/cancel/{{post.seq}}'">
          {{TRANSLATION "common.button.cancel.notice"}}
        </button>
      {{else}}
        <button type="button" class="btn-u rounded" onclick="location='/board/notice/set/{{post.seq}}'">
          {{TRANSLATION "common.button.set.as.notice"}}
        </button>
      {{/if}}
    {{/if}}
		</div> <!-- End Buttons -->

  {{#if (EQ result 'setNotice')}}
    <div class="contex-bg"><p class="bg-success rounded">{{TRANSLATION "board.msg.set.as.notice"}}</p></div>
  {{else if (EQ result 'cancelNotice')}}
    <div class="contex-bg"><p class="bg-success rounded">{{TRANSLATION "board.msg.cancel.notice"}}</p></div>
  {{else if (EQ result 'alreadyNotice')}}
    <div class="contex-bg"><p class="bg-danger rounded">{{TRANSLATION "board.msg.error.already.notice"}}</p></div>
  {{else if (EQ result 'alreadyNotNotice')}}
    <div class="contex-bg"><p class="bg-danger rounded">{{TRANSLATION "board.msg.error.already.not.notice"}}</p></div>
  {{else if (EQ result 'existComment')}}
    <div class="contex-bg"><p class="bg-danger rounded">{{TRANSLATION "board.msg.error.can.not.delete.post"}}</p></div>
  {{else if (EQ result 'emptyComment')}}
    <div class="contex-bg"><p class="bg-danger rounded">{{TRANSLATION "board.msg.error.can.not.delete.post.except.comment"}}</p></div>
  {{/if}}

		<!--Blog Post-->
		<div class="blog margin-bottom-20">
			<h2>
				<small>
					{{#if (EQ post.status.device 'MOBILE')}}<span aria-hidden="true" class=" icon-screen-smartphone"></span>{{/if}}
          {{#if (EQ post.status.device 'TABLET')}}<span aria-hidden="true" class=" icon-screen-tablet"></span>{{/if}}
          {{#if galleries}}<span aria-hidden="true" class="icon-picture"></span>{{/if}}
				</small>
      {{#if (EQ post.status.delete 'DELETE')}}
        {{TRANSLATION "board.msg.deleted"}}
      {{else}}
        {{post.subject}}
      {{/if}}
      {{#if post.category}}
        <small><span aria-hidden="true" class="icon-directions"></span> {{CATEGORY_NAME post.category locale}}</small>
      {{/if}}
			</h2>
			<div class="blog-post-tags">
				<ul class="list-unstyled list-inline blog-info">
					<li><span aria-hidden="true" class="icon-user"></span> {{post.writer.username}}</li>
					<li>{{DATE_FORMAT (DATE_BY_ID post.id) 'LLL' ../locale}}</li>
					<li><span aria-hidden="true" class="icon-eye"></span> {{post.views}}</li>
				</ul>
			</div>

      {{#if (EQ post.status.delete 'DELETE')}}
        <p>{{TRANSLATION "board.msg.deleted"}}</p>
      {{else}}
        <p>{{{post.content}}}</p>
      {{/if}}

			<!-- galleries -->
			{{#if post.galleries}}
				<ul class="list-group">
					<li class="list-group-item">
						<strong>{{TRANSLATION "board.gallery.list"}}</strong>
						{{#each post.galleries}}
							<div>
								<span aria-hidden="true" class="icon-paper-clip"></span>
								<a href="/gallery/view/{{id}}">{{DEFAULT_VALUE name fileName}}</a> | {{SIZE_FORMAT size}}
							</div>
            {{/each}}
					</li>
				</ul>
      {{/if}}

			<!-- buttons -->
			<div class="ladda-btn margin-bottom-10">
				<div class="row">
					<div class="col-xs-6">
						<button type="button" class="btn-u btn-u-sm btn-u-blue rounded ladda-button"
							ng-click="btnFeeling('LIKE')" ng-init="numberOfLike={{ARRAY_SIZE post.usersLiking}}"
							ladda="btnLike" data-style="expand-right" data-spinner-color="Gainsboro"
							tooltip-popup-close-delay="300" uib-tooltip="{{TRANSLATION "common.button.like"}}">
{'fraction_non_alphanumeric': 0.2299949672873679, 'fraction_numerical': 0.0038584130179500084, 'mean_word_length': 3.338791848617176, 'pattern_counts': {'":': 0, '<': 277, '<?xml version=': 0, '>': 279, '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': '3364178', 'n_tokens_mistral': 4567, 'n_tokens_neox': 4090, 'n_words': 720}