From de998c4a0fcbadc4c0353c8e65d5769c271cfcd9 Mon Sep 17 00:00:00 2001 From: Jason Croft Date: Wed, 11 May 2016 21:12:48 -0400 Subject: Check to make sure GitLab is configured before showing import option. --- public/views/header.ejs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'public/views/header.ejs') diff --git a/public/views/header.ejs b/public/views/header.ejs index 18369ba9..051817dc 100644 --- a/public/views/header.ejs +++ b/public/views/header.ejs @@ -54,8 +54,10 @@
  • Gist
  • + <% if(typeof gitlab !== 'undefined' && gitlab) { %>
  • Snippet
  • + <% } %>
  • Clipboard
  • @@ -145,8 +147,10 @@
  • Gist
  • + <% if(typeof gitlab !== 'undefined' && gitlab) { %>
  • Snippet
  • + <% } %>
  • Clipboard
  • -- cgit v1.2.3