Commit 010ac2b17f1e4bd0e104a90fd8bfc8c7bcb67ac8
1 parent
1b6a3dfe
Exists in
master
and in
4 other branches
Added back link. cleanup group show page
Showing
1 changed file
with
23 additions
and
37 deletions
Show diff stats
app/views/groups/show.html.haml
1 | -- if @projects.any? | |
2 | - .projects | |
3 | - .activities.span8 | |
4 | - = render 'shared/no_ssh' | |
5 | - - if @events.any? | |
6 | - .content_list= render @events | |
7 | - - else | |
8 | - %h4.nothing_here_message Projects activity will be displayed here | |
9 | - .loading.hide | |
10 | - .side | |
11 | - = render "events/event_last_push", event: @last_push | |
12 | - = render "projects", projects: @projects | |
13 | - %div | |
14 | - %span.rss-icon | |
15 | - = link_to dashboard_path(:atom, { private_token: current_user.private_token }) do | |
16 | - = image_tag "rss_ui.png", title: "feed" | |
17 | - %strong News Feed | |
18 | - | |
19 | - %hr | |
20 | - .gitlab-promo | |
21 | - = link_to "Homepage", "http://gitlabhq.com" | |
22 | - = link_to "Blog", "http://blog.gitlabhq.com" | |
23 | - = link_to "@gitlabhq", "https://twitter.com/gitlabhq" | |
24 | - | |
25 | - | |
26 | -- else | |
27 | - %h3.nothing_here_message There are no projects you have access to. | |
28 | - %br | |
29 | - %h4.nothing_here_message | |
30 | - - if current_user.can_create_project? | |
31 | - You can create up to | |
32 | - = current_user.projects_limit | |
33 | - projects. Click on button below to add a new one | |
34 | - .link_holder | |
35 | - = link_to new_project_path, class: "btn primary" do | |
36 | - New Project » | |
1 | +.projects | |
2 | + .activities.span8 | |
3 | + .back_link | |
4 | + = link_to dashboard_path do | |
5 | + ← To dashboard | |
6 | + = render 'shared/no_ssh' | |
7 | + - if @events.any? | |
8 | + .content_list= render @events | |
37 | 9 | - else |
38 | - If you will be added to project - it will be displayed here | |
10 | + %h4.nothing_here_message Projects activity will be displayed here | |
11 | + .loading.hide | |
12 | + .side | |
13 | + = render "events/event_last_push", event: @last_push | |
14 | + = render "projects", projects: @projects | |
15 | + %div | |
16 | + %span.rss-icon | |
17 | + = link_to dashboard_path(:atom, { private_token: current_user.private_token }) do | |
18 | + = image_tag "rss_ui.png", title: "feed" | |
19 | + %strong News Feed | |
39 | 20 | |
21 | + %hr | |
22 | + .gitlab-promo | |
23 | + = link_to "Homepage", "http://gitlabhq.com" | |
24 | + = link_to "Blog", "http://blog.gitlabhq.com" | |
25 | + = link_to "@gitlabhq", "https://twitter.com/gitlabhq" | |
40 | 26 | |
41 | 27 | :javascript |
42 | 28 | $(function(){ Pager.init(20); }); | ... | ... |