forked from treehouse/mastodon
Rename page_heading_actions variable (#12799)
Current name - page_heading_actions is long and hard to remember, this commit shortens it to just heading_actions, which is way more easier to remember and write, it's logical too.signup-info-prompt
parent
c306978190
commit
139f7646a7
|
@ -4,7 +4,7 @@
|
||||||
- content_for :page_title do
|
- content_for :page_title do
|
||||||
= t('admin.reports.report', id: @report.id)
|
= t('admin.reports.report', id: @report.id)
|
||||||
|
|
||||||
- content_for :page_heading_actions do
|
- content_for :heading_actions do
|
||||||
- if @report.unresolved?
|
- if @report.unresolved?
|
||||||
= link_to t('admin.reports.mark_as_resolved'), resolve_admin_report_path(@report), method: :post, class: 'button'
|
= link_to t('admin.reports.mark_as_resolved'), resolve_admin_report_path(@report), method: :post, class: 'button'
|
||||||
- else
|
- else
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- content_for :page_title do
|
- content_for :page_title do
|
||||||
= t('filters.index.title')
|
= t('filters.index.title')
|
||||||
|
|
||||||
- content_for :page_heading_actions do
|
- content_for :heading_actions do
|
||||||
= link_to t('filters.new.title'), new_filter_path, class: 'button'
|
= link_to t('filters.new.title'), new_filter_path, class: 'button'
|
||||||
|
|
||||||
- if @filters.count == 0
|
- if @filters.count == 0
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
.content-heading
|
.content-heading
|
||||||
%h2= yield :page_title
|
%h2= yield :page_title
|
||||||
|
|
||||||
- if :page_heading_actions
|
- if :heading_actions
|
||||||
.content-heading-actions
|
.content-heading-actions
|
||||||
= yield :page_heading_actions
|
= yield :heading_actions
|
||||||
|
|
||||||
= render 'application/flashes'
|
= render 'application/flashes'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue