mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 05:25:50 +01:00
(refs #437)Fix typo
Threre is more good function name, but i have no idea 😵
This commit is contained in:
@@ -95,7 +95,7 @@ object JGitUtil {
|
||||
} else None
|
||||
}
|
||||
|
||||
def isDiffrentCommitter: Boolean = authorName != committerName || authorEmailAddress != committerEmailAddress
|
||||
def isDifferentFromAuthor: Boolean = authorName != committerName || authorEmailAddress != committerEmailAddress
|
||||
}
|
||||
|
||||
case class DiffInfo(changeType: ChangeType, oldPath: String, newPath: String, oldContent: Option[String], newContent: Option[String])
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<span>@user(commit.authorName, commit.authorEmailAddress, "username strong")</span>
|
||||
<span class="muted">authored on @datetime(commit.authorTime)</span>
|
||||
</div>
|
||||
@if(commit.isDiffrentCommitter) {
|
||||
@if(commit.isDifferentFromAuthor) {
|
||||
<div class="committer">
|
||||
<span class="icon-arrow-right"></span>
|
||||
<span>@user(commit.committerName, commit.committerEmailAddress, "username strong")</span>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<span>@user(latestCommit.authorName, latestCommit.authorEmailAddress, "username strong")</span>
|
||||
<span class="muted"> authored on @datetime(latestCommit.authorTime)</span>
|
||||
</div>
|
||||
@if(latestCommit.isDiffrentCommitter) {
|
||||
@if(latestCommit.isDifferentFromAuthor) {
|
||||
<div class="committer">
|
||||
<span class="icon-arrow-right"></span>
|
||||
<span>@user(latestCommit.committerName, latestCommit.committerEmailAddress, "username strong")</span>
|
||||
|
||||
Reference in New Issue
Block a user