mirror of
https://github.com/go-gitea/gitea
synced 2025-01-08 00:44:26 +00:00
Add ellipsis
This commit is contained in:
parent
66dbadcf68
commit
051b42a4a8
@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<div class="required field">
|
<div class="required field">
|
||||||
<label for="source_repository">{{ctx.Locale.Tr "repo.issues.create_branch_from_repository"}}</label>
|
<label for="source_repository">{{ctx.Locale.Tr "repo.issues.create_branch_from_repository"}}</label>
|
||||||
<div class="ui selection dropdown">
|
<div class="ui selection dropdown ellipsis-items-nowrap">
|
||||||
<input type="hidden" name="repo_id" value="{{.Issue.Repo.ID}}">
|
<input type="hidden" name="repo_id" value="{{.Issue.Repo.ID}}">
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<strong id="repo-branch-current">{{.Issue.Repo.FullName}}</strong>
|
<strong id="repo-branch-current">{{.Issue.Repo.FullName}}</strong>
|
||||||
@ -72,7 +72,7 @@
|
|||||||
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
{{range .AllowedRepos}}
|
{{range .AllowedRepos}}
|
||||||
<div class="item" data-value="{{.ID}}">{{.FullName}}</div>
|
<div class="item" data-value="{{.ID}}" title="{{.FullName}}">{{.FullName}}</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<div class="required field">
|
<div class="required field">
|
||||||
<label for="source_branch_name">{{ctx.Locale.Tr "repo.issues.base_branch"}}</label>
|
<label for="source_branch_name">{{ctx.Locale.Tr "repo.issues.base_branch"}}</label>
|
||||||
<div class="ui selection dropdown">
|
<div class="ui selection dropdown ellipsis-items-nowrap">
|
||||||
<input type="hidden" name="source_branch_name" value="{{.Issue.Repo.DefaultBranch}}">
|
<input type="hidden" name="source_branch_name" value="{{.Issue.Repo.DefaultBranch}}">
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<strong id="repo-branch-current">{{.Issue.Repo.DefaultBranch}}</strong>
|
<strong id="repo-branch-current">{{.Issue.Repo.DefaultBranch}}</strong>
|
||||||
@ -88,7 +88,7 @@
|
|||||||
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
{{range .Branches}}
|
{{range .Branches}}
|
||||||
<div class="item" data-value="{{.}}">{{.}}</div>
|
<div class="item" data-value="{{.}}" title="{{.}}">{{.}}</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user