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

24 lines
846 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Starred Projects"
2015-04-26 12:48:37 +05:30
- if @projects.any?
2015-09-11 14:41:01 +05:30
= render 'shared/show_aside'
2015-04-26 12:48:37 +05:30
.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
- 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.