Simplified UI

Signed-off-by: Konrad <konrad@kola-entertainments.de>
This commit is contained in:
Konrad Langenberg 2017-10-04 22:54:40 +02:00 committed by Konrad
parent 7507e89cee
commit 62efeba087
2 changed files with 17 additions and 15 deletions

View File

@ -734,10 +734,12 @@ issues.dependency.remove = Remove
issues.dependency.issue_number = Issuenumber
issues.dependency.added_dependency = `<a href="%[1]s">%[2]s</a> added a new dependency %[3]s`
issues.dependency.removed_dependency = `<a href="%[1]s">%[2]s</a> removed a dependency %[3]s`
issues.dependency.issue_closing_blockedby = Closing this pull request is blocked by
issues.dependency.pr_closing_blockedby = Closing this issue is blocked by
issues.dependency.issue_close_blocks = This issue blocks closing of the following issues
issues.dependency.pr_close_blocks = This pull request blocks closing of the following issues
issues.dependency.issue_closing_blockedby = Closing this pull request is blocked by the following issues.
issues.dependency.pr_closing_blockedby = Closing this issue is blocked by the following issues.
issues.dependency.issue_close_blocks = This issue blocks closing of the following issues.
issues.dependency.pr_close_blocks = This pull request blocks closing of the following issues.
issues.dependency.blocks_short = Blocks
issues.dependency.blocked_by_short = Blocked by
issues.dependency.remove_header = Remove Dependency
issues.dependency.remove_text = This will remove the dependency to this issue. Are you sure? You cannot undo this!
issues.dependency.setting = Issues can have dependencies

View File

@ -198,12 +198,12 @@
<span class="text"><strong>{{.i18n.Tr "repo.issues.dependency.title"}}</strong></span>
<br>
{{if .BlockedByDependencies}}
<span class="text">
{{if .Issue.IsPull}}
{{.i18n.Tr "repo.issues.dependency.issue_closing_blockedby"}}:
<span class="text" data-tooltip="{{if .Issue.IsPull}}
{{.i18n.Tr "repo.issues.dependency.issue_closing_blockedby"}}
{{else}}
{{.i18n.Tr "repo.issues.dependency.pr_closing_blockedby"}}:
{{end}}
{{.i18n.Tr "repo.issues.dependency.pr_closing_blockedby"}}
{{end}}" data-inverted="">
{{.i18n.Tr "repo.issues.dependency.blocked_by_short"}}:
</span>
<div class="ui relaxed divided list">
{{range .BlockedByDependencies}}
@ -231,12 +231,12 @@
{{if .BlockingDependencies}}
<div class="ui relaxed divided list">
<span class="text">
{{if .Issue.IsPull}}
{{.i18n.Tr "repo.issues.dependency.pr_close_blocks"}}:
{{else}}
{{.i18n.Tr "repo.issues.dependency.issue_close_blocks"}}:
{{end}}
<span class="text" data-tooltip="{{if .Issue.IsPull}}
{{.i18n.Tr "repo.issues.dependency.pr_close_blocks"}}
{{else}}
{{.i18n.Tr "repo.issues.dependency.issue_close_blocks"}}
{{end}}" data-inverted="">
{{.i18n.Tr "repo.issues.dependency.blocks_short"}}:
</span>
{{range .BlockingDependencies}}
<div class="item">