[Skip ci] replace .hidden-lg
This commit is contained in:
parent
b32c2adb1e
commit
35ae84a41b
5 changed files with 12 additions and 12 deletions
|
@ -132,14 +132,14 @@ module IssuablesHelper
|
|||
output << "Opened #{time_ago_with_tooltip(issuable.created_at)} by ".html_safe
|
||||
output << content_tag(:strong) do
|
||||
author_output = link_to_member(project, issuable.author, size: 24, mobile_classes: "hidden-xs", tooltip: true)
|
||||
author_output << link_to_member(project, issuable.author, size: 24, by_username: true, avatar: false, mobile_classes: "hidden-sm hidden-md hidden-lg")
|
||||
author_output << link_to_member(project, issuable.author, size: 24, by_username: true, avatar: false, mobile_classes: "d-block d-sm-none")
|
||||
end
|
||||
|
||||
output << " ".html_safe
|
||||
output << content_tag(:span, (issuable_first_contribution_icon if issuable.first_contribution?), class: 'has-tooltip', title: _('1st contribution!'))
|
||||
|
||||
output << content_tag(:span, (issuable.task_status if issuable.tasks?), id: "task_status", class: "hidden-xs hidden-sm")
|
||||
output << content_tag(:span, (issuable.task_status_short if issuable.tasks?), id: "task_status_short", class: "hidden-md hidden-lg")
|
||||
output << content_tag(:span, (issuable.task_status if issuable.tasks?), id: "task_status", class: "d-none d-sm-none d-md-block")
|
||||
output << content_tag(:span, (issuable.task_status_short if issuable.tasks?), id: "task_status_short", class: "d-md-none d-lg-none d-xl-block")
|
||||
|
||||
output.html_safe
|
||||
end
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
%div
|
||||
= link_to "Sign in / Register", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in'
|
||||
|
||||
%button.navbar-toggle.hidden-sm.hidden-md.hidden-lg{ type: 'button' }
|
||||
%button.navbar-toggle.d-block.d-sm-none{ type: 'button' }
|
||||
%span.sr-only Toggle navigation
|
||||
= sprite_icon('more', size: 12, css_class: 'more-icon js-navbar-toggle-right')
|
||||
= sprite_icon('close', size: 12, css_class: 'close-icon js-navbar-toggle-left')
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
Snippets
|
||||
|
||||
- if any_dashboard_nav_link?([:groups, :milestones, :activity, :snippets])
|
||||
%li.header-more.dropdown.hidden-lg
|
||||
%li.header-more.dropdown.d-lg-none.d-xl-none
|
||||
%a{ href: "#", data: { toggle: "dropdown" } }
|
||||
More
|
||||
= sprite_icon('angle-down', css_class: 'caret-down')
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
.detail-page-header
|
||||
.detail-page-header-body
|
||||
.issuable-status-box.status-box.status-box-issue-closed{ class: issue_button_visibility(@issue, false) }
|
||||
= sprite_icon('mobile-issue-close', size: 16, css_class: 'hidden-sm hidden-md hidden-lg')
|
||||
= sprite_icon('mobile-issue-close', size: 16, css_class: 'd-block d-sm-none')
|
||||
%span.hidden-xs
|
||||
Closed
|
||||
.issuable-status-box.status-box.status-box-open{ class: issue_button_visibility(@issue, true) }
|
||||
= sprite_icon('issue-open-m', size: 16, css_class: 'hidden-sm hidden-md hidden-lg')
|
||||
= sprite_icon('issue-open-m', size: 16, css_class: 'd-block d-sm-none')
|
||||
%span.hidden-xs Open
|
||||
|
||||
.issuable-meta
|
||||
|
@ -30,10 +30,10 @@
|
|||
|
||||
.detail-page-header-actions.js-issuable-actions
|
||||
.clearfix.issue-btn-group.dropdown
|
||||
%button.btn.btn-secondary.float-left.hidden-md.hidden-lg{ type: "button", data: { toggle: "dropdown" } }
|
||||
%button.btn.btn-secondary.float-left.d-md-none.d-lg-none.d-xl-none{ type: "button", data: { toggle: "dropdown" } }
|
||||
Options
|
||||
= icon('caret-down')
|
||||
.dropdown-menu.dropdown-menu-align-right.hidden-lg
|
||||
.dropdown-menu.dropdown-menu-align-right.d-lg-none.d-xl-none
|
||||
%ul
|
||||
- unless current_user == @issue.author
|
||||
%li= link_to 'Report abuse', new_abuse_report_path(user_id: @issue.author.id, ref_url: issue_url(@issue))
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
.detail-page-header
|
||||
.detail-page-header-body
|
||||
.issuable-status-box.status-box{ class: status_box_class(@merge_request) }
|
||||
= sprite_icon(@merge_request.state_icon_name, size: 16, css_class: 'hidden-sm hidden-md hidden-lg')
|
||||
= sprite_icon(@merge_request.state_icon_name, size: 16, css_class: 'd-block d-sm-none')
|
||||
%span.hidden-xs
|
||||
= @merge_request.state_human_name
|
||||
|
||||
|
@ -21,10 +21,10 @@
|
|||
|
||||
.detail-page-header-actions.js-issuable-actions
|
||||
.clearfix.issue-btn-group.dropdown
|
||||
%button.btn.btn-secondary.float-left.hidden-md.hidden-lg{ type: "button", data: { toggle: "dropdown" } }
|
||||
%button.btn.btn-secondary.float-left.d-md-none.d-lg-none.d-xl-none{ type: "button", data: { toggle: "dropdown" } }
|
||||
Options
|
||||
= icon('caret-down')
|
||||
.dropdown-menu.dropdown-menu-align-right.hidden-lg
|
||||
.dropdown-menu.dropdown-menu-align-right.d-lg-none.d-xl-none
|
||||
%ul
|
||||
- if can_update_merge_request
|
||||
%li= link_to 'Edit', edit_namespace_project_merge_request_path(@project.namespace, @project, @merge_request)
|
||||
|
|
Loading…
Reference in a new issue