mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-02 11:36:05 +01:00
(refs #1345) Remove large size avatar image to use width efficiently
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
@if(comment.fileName.isDefined){filename="@comment.fileName.get"}
|
||||
@if(comment.newLine.isDefined){newline="@comment.newLine.get"}
|
||||
@if(comment.oldLine.isDefined){oldline="@comment.oldLine.get"}>
|
||||
<div class="issue-avatar-image">@helpers.avatarLink(comment.commentedUserName, 48)</div>
|
||||
<div class="panel panel-default commit-comment-box commit-comment-@comment.commentId">
|
||||
<div class="panel-heading">
|
||||
@helpers.avatar(comment.commentedUserName, 20)
|
||||
@helpers.user(comment.commentedUserName, styleClass="username strong")
|
||||
<span class="muted">
|
||||
commented
|
||||
|
@@ -7,7 +7,6 @@
|
||||
@if(isEditable){
|
||||
<hr/><br/>
|
||||
<form method="POST" validate="true">
|
||||
<div class="issue-avatar-image">@helpers.avatarLink(context.loginAccount.get.userName, 48)</div>
|
||||
<div class="panel panel-default issue-comment-box">
|
||||
<div class="panel-body">
|
||||
@gitbucket.core.helper.html.preview(
|
||||
|
@@ -6,10 +6,11 @@
|
||||
@import gitbucket.core.view.helpers
|
||||
@import gitbucket.core.model.CommitComment
|
||||
@if(issue.isDefined){
|
||||
<div class="issue-avatar-image">@helpers.avatarLink(issue.get.openedUserName, 48)</div>
|
||||
<div class="panel panel-default issue-comment-box">
|
||||
<div class="panel-heading">
|
||||
@helpers.user(issue.get.openedUserName, styleClass="username strong") <span class="muted">commented @gitbucket.core.helper.html.datetimeago(issue.get.registeredDate)</span>
|
||||
@helpers.avatar(issue.get.openedUserName, 20)
|
||||
@helpers.user(issue.get.openedUserName, styleClass="username strong")
|
||||
<span class="muted">commented @gitbucket.core.helper.html.datetimeago(issue.get.registeredDate)</span>
|
||||
<span class="pull-right">
|
||||
@if(isManageable || context.loginAccount.map(_.userName == issue.get.openedUserName).getOrElse(false)){
|
||||
<a href="#" data-issue-id="@issue.get.issueId"><i class="octicon octicon-pencil" aria-label="Edit"></i></a>
|
||||
@@ -35,9 +36,9 @@
|
||||
case comment: gitbucket.core.model.IssueComment => {
|
||||
@if(comment.action != "close" && comment.action != "reopen" && comment.action != "delete_branch"
|
||||
&& comment.action != "commit" && comment.action != "refer"){
|
||||
<div class="issue-avatar-image">@helpers.avatarLink(comment.commentedUserName, 48)</div>
|
||||
<div class="panel panel-default issue-comment-box" id="comment-@comment.commentId">
|
||||
<div class="panel-heading">
|
||||
@helpers.avatar(comment.commentedUserName, 20)
|
||||
@helpers.user(comment.commentedUserName, styleClass="username strong")
|
||||
<span class="muted">
|
||||
@if(comment.action == "comment"){
|
||||
|
@@ -779,10 +779,6 @@ h4#issueTitle {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
div.issue-avatar-image {
|
||||
float: left;
|
||||
}
|
||||
|
||||
div.issue-participants {
|
||||
margin-bottom: 15px;
|
||||
margin-left: 50px;
|
||||
@@ -790,7 +786,6 @@ div.issue-participants {
|
||||
|
||||
div.issue-comment-box, div.commit-comment-box {
|
||||
margin-bottom: 15px;
|
||||
margin-left: 70px;
|
||||
}
|
||||
|
||||
div.issue-comment-box > div.panel-body,
|
||||
@@ -879,7 +874,7 @@ li.task-list-item input.task-list-item-checkbox {
|
||||
|
||||
.discussion-item {
|
||||
position: relative;
|
||||
margin: 15px 0 15px 79px;
|
||||
margin: 15px 0 15px 20px;
|
||||
padding-left: 25px;
|
||||
}
|
||||
.discussion-item-header {
|
||||
|
Reference in New Issue
Block a user