Commit cf36509a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Style dashboard milestones page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 0362a0f0
- page_title "Milestones" - page_title "Milestones"
- header_title "Milestones", dashboard_milestones_path - header_title "Milestones", dashboard_milestones_path
%p.light
List all milestones from all projects you have access to.
= render 'shared/milestones_filter' = render 'shared/milestones_filter'
.gray-content-block
.oneline
List all milestones from all projects you have access to.
.milestones .milestones
.panel.panel-default %ul.content-list
%ul.well-list - if @dashboard_milestones.blank?
- if @dashboard_milestones.blank? %li
%li .nothing-here-block No milestones to show
.nothing-here-block No milestones to show - else
- else - @dashboard_milestones.each do |milestone|
- @dashboard_milestones.each do |milestone| = render 'milestone', milestone: milestone
= render 'milestone', milestone: milestone
= paginate @dashboard_milestones, theme: "gitlab" = paginate @dashboard_milestones, theme: "gitlab"
.milestones-filters.append-bottom-10 .milestones-filters
%ul.nav.nav-tabs %ul.center-top-menu
%li{class: ("active" if params[:state].blank? || params[:state] == 'opened')} %li{class: ("active" if params[:state].blank? || params[:state] == 'opened')}
= link_to milestones_filter_path(state: 'opened') do = link_to milestones_filter_path(state: 'opened') do
%i.fa.fa-exclamation-circle %i.fa.fa-exclamation-circle
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment