summaryrefslogtreecommitdiff
path: root/app/views/groups/_projects.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-09 20:52:06 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-09 20:52:06 +0300
commit3dcc441916e3d51ea29e292d7446ac9a1a4787cb (patch)
tree0404b83ac1eed069ef700aa6d75c0907e9ca76a8 /app/views/groups/_projects.html.haml
parent03586c6c79e093046d46379885821ba9083a0d73 (diff)
downloadgitlab-ce-3dcc441916e3d51ea29e292d7446ac9a1a4787cb.tar.gz
Cleaner dashboard sidebar
Diffstat (limited to 'app/views/groups/_projects.html.haml')
-rw-r--r--app/views/groups/_projects.html.haml19
1 files changed, 9 insertions, 10 deletions
diff --git a/app/views/groups/_projects.html.haml b/app/views/groups/_projects.html.haml
index bf1a624b48f..ff6b71b9ec0 100644
--- a/app/views/groups/_projects.html.haml
+++ b/app/views/groups/_projects.html.haml
@@ -1,22 +1,21 @@
.ui-box
%h5.title
- Projects
- %small
- (#{projects.count})
+ Projects (#{projects.count})
- if can? current_user, :manage_group, @group
%span.pull-right
- = link_to new_project_path(namespace_id: @group.id), class: "btn btn-tiny info" do
+ = link_to new_project_path(namespace_id: @group.id), class: "btn" do
%i.icon-plus
New Project
%ul.well-list
- if projects.blank?
%p.nothing_here_message This groups has no projects yet
- projects.each do |project|
- %li
+ %li.project-row
= link_to project_path(project), class: dom_class(project) do
- %strong.well-title= truncate(project.name, length: 25)
+ %span.project-name
+ = truncate(project.name, length: 25)
%span.arrow
- &rarr;
- %span.last_activity
- %strong Last activity:
- %span= project_last_activity(project)
+ %i.icon-angle-right
+ %span.last-activity
+ %span Last activity:
+ %span.date= project_last_activity(project)