diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-08 14:58:08 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-08 14:58:08 -0500 |
commit | 1817f877e19628417dd8209f070386b111de59c4 (patch) | |
tree | 597679f8c2e1051f7c6317bb33dc797776c8a3d7 /app/views/discussions | |
parent | a8339fe1aa95d489e00cb0b79a20557d711639ec (diff) | |
download | gitlab-ce-1817f877e19628417dd8209f070386b111de59c4.tar.gz |
Some code tweaks
Diffstat (limited to 'app/views/discussions')
-rw-r--r-- | app/views/discussions/_discussion.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/discussions/_discussion.html.haml b/app/views/discussions/_discussion.html.haml index f48dc575661..8440fb3d785 100644 --- a/app/views/discussions/_discussion.html.haml +++ b/app/views/discussions/_discussion.html.haml @@ -30,6 +30,7 @@ - else a deleted commit - elsif discussion.diff_discussion? + on = conditional_link_to url.present?, url do - if discussion.active? the diff |