debian-mirror-gitlab/app/views/dashboard/projects/starred.html.haml

24 lines
856 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
- if @projects.any?
.dashboard.row
%section.activities.col-md-8
= render 'dashboard/activities'
%aside.col-md-4
.panel.panel-default
.panel-heading.clearfix
.input-group
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control'
- if current_user.can_create_project?
%span.input-group-btn
= link_to new_project_path, class: 'btn btn-success' do
New project
= render 'shared/projects_list', projects: @projects,
projects_limit: 20, stars: true, avatar: false
= link_to '#aside', class: 'show-aside' do
%i.fa.fa-angle-left
- else
%h3 You don't have starred projects yet
%p.slead Visit project page and press on star icon and it will appear on this page.