Commit cb24d720 authored by Takuya Noguchi's avatar Takuya Noguchi

Replace .rss-btn with display properties

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent 410dcfd2
...@@ -20,10 +20,6 @@ ...@@ -20,10 +20,6 @@
display: none; display: none;
} }
.rss-btn {
display: none;
}
.container .title { .container .title {
padding-left: 15px !important; padding-left: 15px !important;
} }
......
.nav-block.activities .nav-block.activities
= render 'shared/event_filter' = render 'shared/event_filter'
.controls .controls
= link_to dashboard_projects_path(rss_url_options), class: 'btn rss-btn has-tooltip', title: 'Subscribe' do = link_to dashboard_projects_path(rss_url_options), class: 'btn d-none d-sm-inline-block has-tooltip', title: 'Subscribe' do
%i.fa.fa-rss %i.fa.fa-rss
.content_list .content_list
......
.nav-block.activities .nav-block.activities
= render 'shared/event_filter' = render 'shared/event_filter'
.controls .controls
= link_to group_path(@group, rss_url_options), class: 'btn rss-btn has-tooltip' , title: 'Subscribe' do = link_to group_path(@group, rss_url_options), class: 'btn d-none d-sm-inline-block has-tooltip' , title: 'Subscribe' do
%i.fa.fa-rss %i.fa.fa-rss
.content_list .content_list
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.nav-block.d-none.d-sm-block.activities .nav-block.d-none.d-sm-block.activities
= render 'shared/event_filter' = render 'shared/event_filter'
.controls .controls
= link_to project_path(@project, rss_url_options), title: s_("ProjectActivityRSS|Subscribe"), class: 'btn rss-btn has-tooltip' do = link_to project_path(@project, rss_url_options), title: s_("ProjectActivityRSS|Subscribe"), class: 'btn d-none d-sm-inline-block has-tooltip' do
= icon('rss') = icon('rss')
.content_list.project-activity{ :"data-href" => activity_project_path(@project) } .content_list.project-activity{ :"data-href" => activity_project_path(@project) }
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
- if can?(current_user, :push_code, @project) - if can?(current_user, :push_code, @project)
= link_to new_project_tag_path(@project), class: 'btn btn-success new-tag-btn' do = link_to new_project_tag_path(@project), class: 'btn btn-success new-tag-btn' do
= s_('TagsPage|New tag') = s_('TagsPage|New tag')
= link_to project_tags_path(@project, rss_url_options), title: _("Tags feed"), class: 'btn rss-btn has-tooltip' do = link_to project_tags_path(@project, rss_url_options), title: _("Tags feed"), class: 'btn d-none d-sm-inline-block has-tooltip' do
= icon("rss") = icon("rss")
= render_if_exists 'projects/commits/mirror_status' = render_if_exists 'projects/commits/mirror_status'
......
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