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.issue_number = Issuenumber
issues.dependency.added_dependency = `<a href="%[1]s">%[2]s</a> added a new dependency %[3]s` 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.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.issue_closing_blockedby = Closing this pull request is blocked by the following issues.
issues.dependency.pr_closing_blockedby = Closing this issue is blocked by 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.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.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_header = Remove Dependency
issues.dependency.remove_text = This will remove the dependency to this issue. Are you sure? You cannot undo this! 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 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> <span class="text"><strong>{{.i18n.Tr "repo.issues.dependency.title"}}</strong></span>
<br> <br>
{{if .BlockedByDependencies}} {{if .BlockedByDependencies}}
<span class="text"> <span class="text" data-tooltip="{{if .Issue.IsPull}}
{{if .Issue.IsPull}} {{.i18n.Tr "repo.issues.dependency.issue_closing_blockedby"}}
{{.i18n.Tr "repo.issues.dependency.issue_closing_blockedby"}}:
{{else}} {{else}}
{{.i18n.Tr "repo.issues.dependency.pr_closing_blockedby"}}: {{.i18n.Tr "repo.issues.dependency.pr_closing_blockedby"}}
{{end}} {{end}}" data-inverted="">
{{.i18n.Tr "repo.issues.dependency.blocked_by_short"}}:
</span> </span>
<div class="ui relaxed divided list"> <div class="ui relaxed divided list">
{{range .BlockedByDependencies}} {{range .BlockedByDependencies}}
@ -231,12 +231,12 @@
{{if .BlockingDependencies}} {{if .BlockingDependencies}}
<div class="ui relaxed divided list"> <div class="ui relaxed divided list">
<span class="text"> <span class="text" data-tooltip="{{if .Issue.IsPull}}
{{if .Issue.IsPull}} {{.i18n.Tr "repo.issues.dependency.pr_close_blocks"}}
{{.i18n.Tr "repo.issues.dependency.pr_close_blocks"}}: {{else}}
{{else}} {{.i18n.Tr "repo.issues.dependency.issue_close_blocks"}}
{{.i18n.Tr "repo.issues.dependency.issue_close_blocks"}}: {{end}}" data-inverted="">
{{end}} {{.i18n.Tr "repo.issues.dependency.blocks_short"}}:
</span> </span>
{{range .BlockingDependencies}} {{range .BlockingDependencies}}
<div class="item"> <div class="item">