diff options
author | silverwind <me@silverwind.io> | 2023-05-29 12:44:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 12:44:03 +0200 |
commit | a70d853d064a97f0be1d3702a9c3912494b546ec (patch) | |
tree | 9fb03fe4804b724e69b7baac25f6264e6c46a1aa /templates/repo/issue/view_content.tmpl | |
parent | 275d4b7e3f4595206e5c4b1657d4f6d6969d9ce2 (diff) | |
download | gitea-a70d853d064a97f0be1d3702a9c3912494b546ec.tar.gz gitea-a70d853d064a97f0be1d3702a9c3912494b546ec.zip |
Consolidate the two review boxes into one (#24738)
View diff:
https://github.com/go-gitea/gitea/pull/24738/files?diff=unified&w=1
Improve layout and functionality in review area:
<img width="439" alt="Screenshot 2023-05-15 at 20 10 01"
src="https://github.com/go-gitea/gitea/assets/115237/be10452b-5829-4927-8801-7b26a57b3dbd">
Remove the "Reviewers" timeline box that appears before the merge box.
it's a duplicate of the top-right review area and all functionality of
it has been moved to the other box:
<img width="868" alt="Screenshot 2023-05-15 at 19 39 31"
src="https://github.com/go-gitea/gitea/assets/115237/35489445-e54b-40d3-b3cf-38d029478f96">
Increase timeline item vertical padding from 12px to 16px:
<img width="449" alt="Screenshot 2023-05-15 at 19 43 50"
src="https://github.com/go-gitea/gitea/assets/115237/919c4f9d-a485-4f51-b08c-2c0fc714a413">
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/repo/issue/view_content.tmpl')
-rw-r--r-- | templates/repo/issue/view_content.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 77087e0a8f..3669e00d5e 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -1,4 +1,4 @@ -<div class="ui stackable grid"> +<div class="issue-content"> <!-- I know, there is probably a better way to do this (moved from sidebar.tmpl, original author: 6543 @ 2021-02-28) --> <!-- Agree, there should be a better way, eg: introduce window.config.pageData (original author: wxiaoguang @ 2021-09-05) --> <input type="hidden" id="repolink" value="{{$.RepoRelPath}}"> @@ -7,7 +7,7 @@ <input type="hidden" id="type" value="{{.IssueType}}"> {{$createdStr:= TimeSinceUnix .Issue.CreatedUnix $.locale}} - <div class="twelve wide column comment-list prevent-before-timeline"> + <div class="issue-content-left comment-list prevent-before-timeline"> <div class="ui timeline"> <div id="{{.Issue.HashTag}}" class="timeline-item comment first"> {{if .Issue.OriginalAuthor}} |