Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-20 12:59:14 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-20 12:59:21 +0300
commitf82c14259b81d692b7f922b40895b60b2b240361 (patch)
treed0ee9b1960b3e6a4da106cf663cefc710ec6978b /app/views/snippets
parentb1c1a3d3cc90de98f03482a4b41b39fe9a992cc6 (diff)
Rebuild navigation for dashboard
* projects from explore page are available from dashboard * use dashboard sidebar for both logged in and not users * move explroe projects under projects tab * move explore groups under groups tab * move public snippets under snippets tab Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/index.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml
index dc45cfacd84..cd65bf6f681 100644
--- a/app/views/snippets/index.html.haml
+++ b/app/views/snippets/index.html.haml
@@ -1,5 +1,6 @@
- page_title "Public Snippets"
-= render 'head'
+- if current_user
+ = render 'head'
%h3.page-title
Public snippets