mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 01:34:25 +00:00
3d3faa2624
* Viewport meta tag * responsive: dashboard * responsive: issues page * responsive: Explore page * responsive: navbar, and some navbar css refactoring * responsive: button for collapsing navbar in mobile view * Mark the hamburger button as active when pressed * better homepage for responsive views * Bring back jump class in navbar The class was necessary, because this way the dropdown doesn't assume the contents of the selected item. * make repository homes responsive * Make file view page responsive * Make forms look good on responsive views * make commits and commit diff view responsive * issues and PRs * responsive wiki * Don't place auto-init far off the page * Minor changes to amend broken stuff minor improvements - make login/sign up in navbar stackable - make navbar in explore and sign in not stackable Change selected class in TestPullCompare Fix typo that happened when rebasing fix dashboard on org view improve profile UI Use clearing on file diff to fix broken UI caused by floating elements remove unresolved merge conflict, and | Sanitize Fix repo home not loading
32 lines
1.0 KiB
Cheetah
32 lines
1.0 KiB
Cheetah
{{template "base/head" .}}
|
|
<div class="repository view issue pull">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container">
|
|
<div class="ui two column stackable grid">
|
|
<div class="column">
|
|
{{template "repo/issue/navbar" .}}
|
|
</div>
|
|
<div class="column right aligned">
|
|
{{if .PageIsIssueList}}
|
|
<a class="ui green button" href="{{.RepoLink}}/issues/new">{{.i18n.Tr "repo.issues.new"}}</a>
|
|
{{else}}
|
|
<a class="ui green button {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{.RepoLink}}/compare/{{.BranchName}}...{{.PullRequestCtx.HeadInfo}}">{{.i18n.Tr "repo.pulls.new"}}</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
<div class="ui divider"></div>
|
|
{{if .Issue.IsPull}}
|
|
{{template "repo/issue/view_title" .}}
|
|
{{template "repo/pulls/tab_menu" .}}
|
|
<div class="ui bottom attached tab pull segment active" data-tab="request-{{.ID}}">
|
|
{{template "repo/issue/view_content" .}}
|
|
</div>
|
|
{{else}}
|
|
<div>
|
|
{{template "repo/issue/view_content" .}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|