mirror of https://github.com/go-gitea/gitea
Adopted suggested change from @silverwind
This commit is contained in:
parent
4a34fc84cd
commit
ce55bd577c
|
@ -3599,6 +3599,7 @@ workflow.run = Run Workflow
|
|||
workflow.not_found = Workflow '%s' not found.
|
||||
workflow.run_success = Workflow '%s' run successfully.
|
||||
workflow.from_ref = Use workflow from
|
||||
workflow.has_workflow_dispatch = This workflow has a workflow_dispatch event trigger.
|
||||
|
||||
need_approval_desc = Need approval to run workflows for fork pull request.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="ui ignored info message project-column-header" >
|
||||
<span class="ui left floated text middle">This workflow has a workflow_dispatch event trigger.</span>
|
||||
<button class="ui right floated mini button" onclick="$('#runWorkflowDispatchModal').modal('show');">{{ctx.Locale.Tr "actions.workflow.run"}}{{svg "octicon-triangle-down" 14 "dropdown icon"}}</button>
|
||||
<span class="ui left floated text middle">{{ctx.Locale.Tr "actions.workflow.has_workflow_dispatch"}}</span>
|
||||
<button class="ui right floated mini button show-modal" data-modal="#runWorkflowDispatchModal">{{ctx.Locale.Tr "actions.workflow.run"}}{{svg "octicon-triangle-down" 14 "dropdown icon"}}</button>
|
||||
</div>
|
||||
<div id="runWorkflowDispatchModal" class="ui mini modal">
|
||||
<div class="content">
|
||||
|
@ -14,7 +14,7 @@
|
|||
<span class="text">{{index .Branches 0}}</span>
|
||||
<div class="menu">
|
||||
<div class="ui icon search input">
|
||||
<i class="search icon"></i>
|
||||
<i class="search icon">{{svg "octicon-search" 16 "search icon"}}</i>
|
||||
<input type="text" placeholder="{{ctx.Locale.Tr "repo.filter_branch_and_tag"}}">
|
||||
</div>
|
||||
<div class="scrolling menu">
|
||||
|
@ -23,7 +23,7 @@
|
|||
Branches
|
||||
</div>
|
||||
{{range $key, $item := .Branches}}
|
||||
<div class="item {{if eq $key 0}}active selected{{end}}" data-value="refs/heads/{{.}}">{{.}}</div>
|
||||
<div class="item {{if eq $key 0}}active selected{{end}}" data-value="refs/heads/{{.}}">{{.}}</div>
|
||||
{{end}}
|
||||
<div class="divider"></div>
|
||||
<div class="header">
|
||||
|
@ -66,7 +66,7 @@
|
|||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
<button class="ui tiny blue button" type="submit">Submit</button>
|
||||
<button class="ui tiny primary button" type="submit">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue