UI improvements
Signed-off-by: Konrad <konrad@kola-entertainments.de>
This commit is contained in:
parent
b2cb173199
commit
3c1afe4e75
|
|
@ -1717,7 +1717,7 @@ function initDashboardSearch() {
|
|||
}
|
||||
|
||||
function showAddDependencyModal() {
|
||||
$('.tiny.modal')
|
||||
$('.mini.modal')
|
||||
.modal({
|
||||
duration: 200,
|
||||
onApprove: function() {
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@
|
|||
<div class="ui depending">
|
||||
<span class="text"><strong>{{.i18n.Tr "repo.issues.dependency.title"}}</strong></span>
|
||||
<br>
|
||||
{{if .BlockedByDependencies}}
|
||||
<span class="text">This issue is blocked by:</span>
|
||||
<div class="ui relaxed divided list">
|
||||
{{range .BlockedByDependencies}}
|
||||
|
|
@ -147,7 +148,9 @@
|
|||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
{{if .BlockingDependencies}}
|
||||
<div class="ui relaxed divided list">
|
||||
<span class="text">This issue blocks the following issues:</span>
|
||||
{{range .BlockingDependencies}}
|
||||
|
|
@ -167,8 +170,12 @@
|
|||
<a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a>
|
||||
</div>
|
||||
{{end}}
|
||||
<p>{{.i18n.Tr "repo.issues.dependency.no_dependencies"}}</p>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
{{if (and (not .BlockedByDependencies) (not .BlockingDependencies))}}
|
||||
<p>{{.i18n.Tr "repo.issues.dependency.no_dependencies"}}</p>
|
||||
{{end}}
|
||||
<div>
|
||||
<button class="fluid green ui button" onclick="showAddDependencyModal();">
|
||||
{{.i18n.Tr "repo.issues.dependency.add"}}
|
||||
|
|
@ -179,7 +186,7 @@
|
|||
</div>
|
||||
|
||||
|
||||
<div class="ui tiny modal">
|
||||
<div class="ui mini modal">
|
||||
<div class="header">
|
||||
{{.i18n.Tr "repo.issues.dependency.add_header"}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user