This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge pull request
#709
from TonyTsangHK/dev
Display multi-line commit message on commit diff page.
tags/v1.2.0-rc1
无闻
10 years ago
parent
f7f4ea1dcf
d4a1d9f82a
commit
daf96dfae1
3 changed files
with
9 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
public/ng/css/gogs.css
+5
-0
public/ng/less/gogs/repository.less
+1
-1
templates/repo/diff.tmpl
+ 3
- 0
public/ng/css/gogs.css
View File
@@ -1510,6 +1510,9 @@ The register and sign-in page style
.commit-list .message span {
max-width: 500px;
}
.commit-message {
white-space: pre-wrap;
}
.diff-head-box {
margin-top: 10px;
}
+ 5
- 0
public/ng/less/gogs/repository.less
View File
@@ -535,6 +535,11 @@
}
}
}
.commit-message {
white-space: pre-wrap;
}
.diff-head-box {
margin-top: 10px;
.panel-body {
+ 1
- 1
templates/repo/diff.tmpl
View File
@@ -17,7 +17,7 @@
<div class="panel panel-info panel-radius diff-head-box">
<div class="panel-header">
<a class="pull-right btn btn-blue btn-header btn-medium btn-radius" rel="nofollow" href="{{.SourcePath}}">{{.i18n.Tr "repo.diff.browse_source"}}</a>
<h4>{{.Commit.Message}}</h4>
<h4
class="commit-message"
>{{.Commit.Message}}</h4>
</div>
<div class="panel-body">
<span class="pull-right">
Write
Preview
Loading…
Cancel
Save