OSDN Git Service

Merge pull request #3704 from former03/feature_bugfix_js_memberadd_realtive_url_root
[wvm/gitlab.git] / app / views / groups / show.html.haml
index a140b40..1ce008f 100644 (file)
@@ -1,4 +1,4 @@
-.projects
+.dashboard
   .activities.span8
     = render "events/event_last_push", event: @last_push
     = link_to dashboard_path, class: 'btn btn-tiny' do
       %p.nothing_here_message Project activity will be displayed here
     .loading.hide
   .side.span4
+    - if @group.description.present?
+      .description.well.well-small.light
+        = @group.description
     = 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
+    .prepend-top-20
+      = link_to group_path(@group, { format: :atom, private_token: current_user.private_token }), title: "Feed" do
+        %strong
+          %i.icon-rss
+          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"
-
-:javascript
-  $(function(){ Pager.init(20, true); });
+    = render 'shared/promo'