summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorLanre Adelowo <adelowomailbox@gmail.com>2019-02-05 12:38:11 +0100
committerLauris BH <lauris@nix.lv>2019-02-05 13:38:11 +0200
commit539079122418c485347506110bef232c99a75d37 (patch)
treea00aa1ae7a7bb0e82dcae461b7c53c3921731cb2 /templates/repo/issue
parent5bd594c85883d713f9d94f6e93cd8f08b253b369 (diff)
downloadgitea-539079122418c485347506110bef232c99a75d37.tar.gz
gitea-539079122418c485347506110bef232c99a75d37.zip
Automatically clear stopwatch on merging a PR (#4327)
* Don't display buttons if there are no notices * clear stopwatch on merging a PR * remove redundant gt check * use ctx.Flash as per @bkcsoft comment * stop timer on closing issues/PRs too * updated translation as per review * redirect to login page after successfully activating account * remove unrelated changes * stop timer for issues that are closed via commits too..Not just the 'close' UI button
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/view_content/comments.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl
index 673fe6db08..6fe09221c3 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -1,3 +1,4 @@
+{{ template "base/alert" }}
{{range .Issue.Comments}}
{{ $createdStr:= TimeSinceUnix .CreatedUnix $.Lang }}