summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_sidebar.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-04 11:18:13 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-04 11:18:41 +0200
commit7f6bbf06f8d94f7e3830567167332ca2a42c4573 (patch)
tree753826e1e27c51d5c2bad1400daf1689c38c4c7c /app/views/dashboard/_sidebar.html.haml
parent87e0429fb19426ecd33142a207a39245f719217e (diff)
downloadgitlab-ce-7f6bbf06f8d94f7e3830567167332ca2a42c4573.tar.gz
Fix bug getting started message when navigate to personal projects w/o them exist
Diffstat (limited to 'app/views/dashboard/_sidebar.html.haml')
-rw-r--r--app/views/dashboard/_sidebar.html.haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/dashboard/_sidebar.html.haml b/app/views/dashboard/_sidebar.html.haml
new file mode 100644
index 00000000000..ca57cd30732
--- /dev/null
+++ b/app/views/dashboard/_sidebar.html.haml
@@ -0,0 +1,14 @@
+- if @groups.present?
+ = render "groups", groups: @groups
+= render "projects", projects: @projects
+%div
+ %span.rss-icon
+ = link_to dashboard_path(:atom, { private_token: current_user.private_token }) do
+ = image_tag "rss_ui.png", title: "feed"
+ %strong News Feed
+
+%hr
+.gitlab-promo
+ = link_to "Homepage", "http://gitlabhq.com"
+ = link_to "Blog", "http://blog.gitlabhq.com"
+ = link_to "@gitlabhq", "https://twitter.com/gitlabhq"