From b61b166f46296eca5143f3c0b60a4daa39c0e105 Mon Sep 17 00:00:00 2001 From: Konrad Langenberg Date: Tue, 12 Sep 2017 22:20:57 +0200 Subject: [PATCH] Fixed conflict with timetracking Signed-off-by: Konrad --- public/js/index.js | 2 +- .../repo/issue/view_content/comments.tmpl | 39 +++++++++---------- .../repo/issue/view_content/sidebar.tmpl | 2 +- 3 files changed, 20 insertions(+), 23 deletions(-) diff --git a/public/js/index.js b/public/js/index.js index e7ce89d58..b4365ff8d 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1832,7 +1832,7 @@ function initVueApp() { } function timeAddManual() { - $('.mini.modal') + $('.time-add-manual') .modal({ duration: 200, onApprove: function() { diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index aec0230b0..ea03975eb 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -149,7 +149,7 @@ {{.Poster.Name}} {{$.i18n.Tr "repo.issues.start_tracking_history" $createdStr | Safe}} -{{else if eq .Type 13}} + {{else if eq .Type 13}} - {{else if eq .Type 15}} + {{else if eq .Type 15}}
@@ -182,40 +182,37 @@ {{.Poster.Name}} {{$.i18n.Tr "repo.issues.cancel_tracking_history" $createdStr | Safe}}
- - {{else if eq .Type 16}} + {{else if eq .Type 16}}
- {{.Poster.Name}} {{$.i18n.Tr "repo.issues.cancel_tracking_history" $createdStr | Safe}} -
- - - {{$.i18n.Tr "repo.issues.dependency.removed_dependency" .Poster.HomeLink .Poster.Name $createdStr | Safe}} - -
- - #{{.DependentIssue.Index}} {{.Content}} + {{$.i18n.Tr "repo.issues.dependency.added_dependency" .Poster.HomeLink .Poster.Name $createdStr | Safe}} +
- - {{else if eq .Type 17}} + {{else if eq .Type 17}}
+ - {{$.i18n.Tr "repo.issues.dependency.added_dependency" .Poster.HomeLink .Poster.Name $createdStr | Safe}} - + {{$.i18n.Tr "repo.issues.dependency.removed_dependency" .Poster.HomeLink .Poster.Name $createdStr | Safe}} +
{{end}} diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 18fceb5c3..b966a0deb 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -149,7 +149,7 @@
-