mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 04:56:02 +01:00
Destruct issue-content style class
This commit is contained in:
@@ -44,15 +44,15 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="commit-commentContent-@comment.commentId">
|
<div class="commit-commentContent-@comment.commentId">
|
||||||
@helpers.markdown(
|
@helpers.markdown(
|
||||||
markdown = comment.content,
|
markdown = comment.content,
|
||||||
repository = repository,
|
repository = repository,
|
||||||
enableWikiLink = false,
|
enableWikiLink = false,
|
||||||
enableRefsLink = true,
|
enableRefsLink = true,
|
||||||
enableLineBreaks = true,
|
enableLineBreaks = true,
|
||||||
enableTaskList = false,
|
enableTaskList = false,
|
||||||
hasWritePermission = hasWritePermission
|
hasWritePermission = hasWritePermission
|
||||||
)
|
)
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
latestCommitId: Option[String] = None)(implicit context: gitbucket.core.controller.Context)
|
latestCommitId: Option[String] = None)(implicit context: gitbucket.core.controller.Context)
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
@comments.fileName
|
<span class="monospace">@comments.fileName</span>
|
||||||
</div>
|
</div>
|
||||||
@comments.comments.map { comment =>
|
@comments.comments.map { comment =>
|
||||||
@gitbucket.core.helper.html.commitcomment(comment, hasWritePermission, repository, latestCommitId)
|
@gitbucket.core.helper.html.commitcomment(comment, hasWritePermission, repository, latestCommitId)
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body issue-content markdown-body" id="commentContent-@comment.commentId">
|
<div class="panel-body markdown-body" id="commentContent-@comment.commentId">
|
||||||
@helpers.markdown(
|
@helpers.markdown(
|
||||||
markdown = comment.content,
|
markdown = comment.content,
|
||||||
repository = repository,
|
repository = repository,
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body issue-content markdown-body" id="issueContent">
|
<div class="panel-body markdown-body" id="issueContent">
|
||||||
@helpers.markdown(
|
@helpers.markdown(
|
||||||
markdown = issue.get.content getOrElse "No description provided.",
|
markdown = issue.get.content getOrElse "No description provided.",
|
||||||
repository = repository,
|
repository = repository,
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
@if(!issue.closed){
|
@if(!issue.closed){
|
||||||
<div class="check-conflict" style="display: none;">
|
<div class="check-conflict" style="display: none;">
|
||||||
<div class="issue-comment-box" style="background-color: #fbeed5">
|
<div class="issue-comment-box" style="background-color: #fbeed5">
|
||||||
<div class="box-content"class="issue-content" style="border: 1px solid #c09853; padding: 10px;">
|
<div class="box-content" style="border: 1px solid #c09853; padding: 10px;">
|
||||||
<img src="@helpers.assets("/common/images/indicator.gif")"/> Checking...
|
<img src="@helpers.assets("/common/images/indicator.gif")"/> Checking...
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
@if(isManageableForkedRepository && issue.closed && merged &&
|
@if(isManageableForkedRepository && issue.closed && merged &&
|
||||||
forkedRepository.map(r => (r.branchList.contains(pullreq.requestBranch) && r.repository.defaultBranch != pullreq.requestBranch)).getOrElse(false)){
|
forkedRepository.map(r => (r.branchList.contains(pullreq.requestBranch) && r.repository.defaultBranch != pullreq.requestBranch)).getOrElse(false)){
|
||||||
<div class="issue-comment-box" style="background-color: #d0eeff;">
|
<div class="issue-comment-box" style="background-color: #d0eeff;">
|
||||||
<div class="box-content"class="issue-content" style="border: 1px solid #87a8c9; padding: 10px;">
|
<div class="box-content" style="border: 1px solid #87a8c9; padding: 10px;">
|
||||||
<a href="@helpers.url(repository)/pull/@issue.issueId/delete_branch" class="btn btn-info pull-right delete-branch" data-name="@pullreq.requestBranch">Delete branch</a>
|
<a href="@helpers.url(repository)/pull/@issue.issueId/delete_branch" class="btn btn-info pull-right delete-branch" data-name="@pullreq.requestBranch">Delete branch</a>
|
||||||
<div>
|
<div>
|
||||||
<span class="strong">Pull request successfully merged and closed</span>
|
<span class="strong">Pull request successfully merged and closed</span>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
forkedRepository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context)
|
forkedRepository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context)
|
||||||
@import gitbucket.core.view.helpers
|
@import gitbucket.core.view.helpers
|
||||||
<div class="issue-comment-box" style="background-color: @if(status.hasProblem){ #fbeed5 }else{ #d8f5cd };">
|
<div class="issue-comment-box" style="background-color: @if(status.hasProblem){ #fbeed5 }else{ #d8f5cd };">
|
||||||
<div class="box-content issue-content" style="border: 1px solid @if(status.hasProblem){ #c09853 }else{ #95c97e };padding:0">
|
<div class="box-content" style="border: 1px solid @if(status.hasProblem){ #c09853 }else{ #95c97e };padding:0">
|
||||||
<div id="merge-pull-request">
|
<div id="merge-pull-request">
|
||||||
@if(!status.statuses.isEmpty){
|
@if(!status.statuses.isEmpty){
|
||||||
<div class="build-statuses">
|
<div class="build-statuses">
|
||||||
|
|||||||
Reference in New Issue
Block a user