Commit 0b017e8e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

twbs3 fixes for UI

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 7399c8c9
.update-notifications { .update-notifications {
.radio-inline { .radio-inline {
margin-right: 30px; margin-right: 9%;
} }
} }
......
%li %li
.row .row
.col-md-4 .col-sm-4
%span %span
= notification_icon(notification) = notification_icon(notification)
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
= link_to membership.group.name, membership.group = link_to membership.group.name, membership.group
- else - else
= link_to_project(membership.project) = link_to_project(membership.project)
.col-md-7 .col-sm-8
= form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do = form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do
= hidden_field_tag :notification_type, type, id: dom_id(membership, 'notification_type') = hidden_field_tag :notification_type, type, id: dom_id(membership, 'notification_type')
= hidden_field_tag :notification_id, membership.id, id: dom_id(membership, 'notification_id') = hidden_field_tag :notification_id, membership.id, id: dom_id(membership, 'notification_id')
......
...@@ -18,11 +18,11 @@ ...@@ -18,11 +18,11 @@
&ndash; You will receive all notifications from projects in which you participate &ndash; You will receive all notifications from projects in which you participate
.row .row
.col-md-4 .col-sm-4
%h4 %h4
= notification_icon(@notification) = notification_icon(@notification)
Global setting Global setting
.col-md-7 .col-sm-8
= form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do = form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do
= hidden_field_tag :notification_type, 'global' = hidden_field_tag :notification_type, 'global'
......
%ul.nav.nav-pills.nav-stacked.nav-stacked-menu %ul.nav.nav-pills.nav-stacked.nav-stacked-menu.append-bottom-20
= nav_link(path: 'projects#edit') do = nav_link(path: 'projects#edit') do
= link_to edit_project_path(@project), class: "stat-tab tab " do = link_to edit_project_path(@project), class: "stat-tab tab " do
%i.icon-edit %i.icon-edit
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
New Milestone New Milestone
.row .row
.col-md-3 .col-md-3.hidden-sm
%ul.nav.nav-pills.nav-stacked %ul.nav.nav-pills.nav-stacked
%li{class: ("active" if (params[:f] == "active" || !params[:f]))} %li{class: ("active" if (params[:f] == "active" || !params[:f]))}
= link_to project_milestones_path(@project, f: "active") do = link_to project_milestones_path(@project, f: "active") do
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
= markdown @milestone.description = markdown @milestone.description
%ul.nav.nav-tabs %ul.nav.nav-tabs.append-bottom-10
%li.active %li.active
= link_to '#tab-issues', 'data-toggle' => 'tab' do = link_to '#tab-issues', 'data-toggle' => 'tab' do
Issues Issues
......
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