2012-04-20 18:41:49 +02:00
|
|
|
.admin_dash.row
|
2013-01-09 06:14:05 +01:00
|
|
|
.span4
|
2012-11-28 17:08:25 +01:00
|
|
|
.ui-box
|
2013-01-04 23:35:38 +01:00
|
|
|
%h5.title Projects
|
2012-11-28 17:08:25 +01:00
|
|
|
.data.padded
|
|
|
|
= link_to admin_projects_path do
|
|
|
|
%h1= Project.count
|
|
|
|
%hr
|
|
|
|
= link_to 'New Project', new_project_path, class: "btn small"
|
2013-01-09 06:14:05 +01:00
|
|
|
.span4
|
2012-11-28 17:08:25 +01:00
|
|
|
.ui-box
|
2013-01-04 23:35:38 +01:00
|
|
|
%h5.title Groups
|
2012-11-28 17:08:25 +01:00
|
|
|
.data.padded
|
|
|
|
= link_to admin_groups_path do
|
|
|
|
%h1= Group.count
|
|
|
|
%hr
|
|
|
|
= link_to 'New Group', new_admin_group_path, class: "btn small"
|
2013-01-09 06:14:05 +01:00
|
|
|
.span4
|
2012-11-28 17:08:25 +01:00
|
|
|
.ui-box
|
2013-01-04 23:35:38 +01:00
|
|
|
%h5.title Users
|
2012-11-28 17:08:25 +01:00
|
|
|
.data.padded
|
|
|
|
= link_to admin_users_path do
|
|
|
|
%h1= User.count
|
|
|
|
%hr
|
|
|
|
= link_to 'New User', new_admin_user_path, class: "btn small"
|
2012-11-21 11:45:15 +01:00
|
|
|
|
2012-04-20 18:41:49 +02:00
|
|
|
.row
|
|
|
|
.span6
|
|
|
|
%h3 Latest projects
|
|
|
|
%hr
|
|
|
|
- @projects.each do |project|
|
2012-08-25 19:31:19 +02:00
|
|
|
%p
|
2012-11-27 07:31:15 +01:00
|
|
|
= link_to project.name_with_namespace, [:admin, project]
|
2012-04-20 18:41:49 +02:00
|
|
|
.span6
|
|
|
|
%h3 Latest users
|
|
|
|
%hr
|
|
|
|
- @users.each do |user|
|
2012-08-25 19:31:19 +02:00
|
|
|
%p
|
2012-11-21 11:45:15 +01:00
|
|
|
= link_to [:admin, user] do
|
2012-08-25 19:31:19 +02:00
|
|
|
= user.name
|
|
|
|
%small= user.email
|