Added back link. cleanup group show page

This commit is contained in:
randx 2012-10-02 22:08:30 +03:00
parent 1b6a3dfec9
commit 010ac2b17f

View file

@ -1,6 +1,8 @@
- if @projects.any? .projects
.projects
.activities.span8 .activities.span8
.back_link
= link_to dashboard_path do
← To dashboard
= render 'shared/no_ssh' = render 'shared/no_ssh'
- if @events.any? - if @events.any?
.content_list= render @events .content_list= render @events
@ -22,21 +24,5 @@
= link_to "Blog", "http://blog.gitlabhq.com" = link_to "Blog", "http://blog.gitlabhq.com"
= link_to "@gitlabhq", "https://twitter.com/gitlabhq" = link_to "@gitlabhq", "https://twitter.com/gitlabhq"
- else
%h3.nothing_here_message There are no projects you have access to.
%br
%h4.nothing_here_message
- if current_user.can_create_project?
You can create up to
= current_user.projects_limit
projects. Click on button below to add a new one
.link_holder
= link_to new_project_path, class: "btn primary" do
New Project »
- else
If you will be added to project - it will be displayed here
:javascript :javascript
$(function(){ Pager.init(20); }); $(function(){ Pager.init(20); });