<commit_before>@(post:Posting, commentForm:Form[PostingComment],  project:Project)

@import utils.TemplateHelper._
@import utils.AccessControl._
@import models.enumeration._
@implicitField = @{ helper.FieldConstructor(simpleForm) }

@main(post.title, project, utils.MenuType.BOARD){

<div class="page board-view">
	@prjmenu(project, utils.MenuType.BOARD, "main-menu-only")
  
	@** Post Info **@
	<div class="board-header">
		<div class="board-id div">@post.getNumber</div>
		<h1 class="title div">@post.title</h1>
		<div class="date div">@utils.TemplateHelper.agoString(post.ago())</div>
	</div>
  
	@** Content body **@
	<div class="board-body">
		<div class="author-info">
			<a href="@routes.UserApp.userInfo(post.authorLoginId)" class="avatar-wrap pull-left">
				<img src="@User.findByLoginId(post.authorLoginId).avatarUrl" width="32" height="32" alt="@post.authorName">
			</a>
			<div class="media-body">
				<p>
					<a href="@routes.UserApp.userInfo(post.authorLoginId)"><strong>@post.authorLoginId</strong></a>
				</p>
				<p class="status">
				    @Messages("comment") <strong class="num">@post.numOfComments</strong>
				</p>
			</div>
		</div>
		<div class="content" markdown="true">@post.body</div>
		<div class="attachments" resourceType="@ResourceType.BOARD_POST" resourceId="@post.id">
		    @**<!--
		      <ul class="attaches wm">
		        <li class="attach"><i class="ico ico-clip"></i>K23.png (11KB)</li>
		      </ul>-->
			**@
		</div>
	</div>
	<div class="board-footer board-actrow nbtn-group">
		@if(isAllowed(UserApp.currentUser(), post.asResource(), Operation.DELETE)){
		<a href="#deleteConfirm" class="nbtn medium red" data-toggle="modal">@Messages("button.delete")</a>
		}

		@if(isAllowed(UserApp.currentUser(), post.asResource(), Operation.UPDATE)){
		<a href="@routes.BoardApp.editPostForm(project.owner, project.name, post.getNumber)" class="nbtn medium black">@Messages("button.edit")</a>
		}
<commit_msg>remove wrong usage of .nbtn-group<commit_after>@(post:Posting, commentForm:Form[PostingComment],  project:Project)

@import utils.TemplateHelper._
@import utils.AccessControl._
@import models.enumeration._
@implicitField = @{ helper.FieldConstructor(simpleForm) }

@main(post.title, project, utils.MenuType.BOARD){

<div class="page board-view">
	@prjmenu(project, utils.MenuType.BOARD, "main-menu-only")
  
	@** Post Info **@
	<div class="board-header">
		<div class="board-id div">@post.getNumber</div>
		<h1 class="title div">@post.title</h1>
		<div class="date div">@utils.TemplateHelper.agoString(post.ago())</div>
	</div>
  
	@** Content body **@
	<div class="board-body">
		<div class="author-info">
			<a href="@routes.UserApp.userInfo(post.authorLoginId)" class="avatar-wrap pull-left">
				<img src="@User.findByLoginId(post.authorLoginId).avatarUrl" width="32" height="32" alt="@post.authorName">
			</a>
			<div class="media-body">
				<p>
					<a href="@routes.UserApp.userInfo(post.authorLoginId)"><strong>@post.authorLoginId</strong></a>
				</p>
				<p class="status">
				    @Messages("comment") <strong class="num">@post.numOfComments</strong>
				</p>
			</div>
		</div>
		<div class="content" markdown="true">@post.body</div>
		<div class="attachments" resourceType="@ResourceType.BOARD_POST" resourceId="@post.id">
		    @**<!--
		      <ul class="attaches wm">
		        <li class="attach"><i class="ico ico-clip"></i>K23.png (11KB)</li>
		      </ul>-->
			**@
		</div>
	</div>
	<div class="board-footer board-actrow">
		@if(isAllowed(UserApp.currentUser(), post.asResource(), Operation.DELETE)){
		<a href="#deleteConfirm" class="nbtn medium red" data-toggle="modal">@Messages("button.delete")</a>
		}

		@if(isAllowed(UserApp.currentUser(), post.asResource(), Operation.UPDATE)){
		<a href="@routes.BoardApp.editPostForm(project.owner, project.name, post.getNumber)" class="nbtn medium black">@Messages("button.edit")</a>
		}

{'fraction_non_alphanumeric': 0.20154043645699615, 'fraction_numerical': 0.005134788189987163, 'mean_word_length': 4.8940998487140694, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '7565189', 'n_tokens_mistral': 1489, 'n_tokens_neox': 1370, 'n_words': 213}