summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-17 16:58:44 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-17 16:59:51 -0400
commit1c4bf0e4747e9eaa7b43c57dec5b4f0d20817cb8 (patch)
treeac3e32c0c6abf3494d0621e8a25aeb2b6dfa4a65
parentbc027c51836dd601025c0a48974ef921229821b8 (diff)
downloadgitlab-ce-1c4bf0e4747e9eaa7b43c57dec5b4f0d20817cb8.tar.gz
Use `skip_js` for commit timestamps
This greatly improves frontend rendering times.
-rw-r--r--app/views/projects/commits/_commit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commits/_commit.html.haml b/app/views/projects/commits/_commit.html.haml
index 083fca9b658..f9106564a27 100644
--- a/app/views/projects/commits/_commit.html.haml
+++ b/app/views/projects/commits/_commit.html.haml
@@ -29,5 +29,5 @@
= commit_author_link(commit, avatar: true, size: 24)
authored
.committed_ago
- #{time_ago_with_tooltip(commit.committed_date)} &nbsp;
+ #{time_ago_with_tooltip(commit.committed_date, skip_js: true)} &nbsp;
= link_to_browse_code(project, commit)