mirror of
https://github.com/flarum/core.git
synced 2025-08-08 01:16:52 +02:00
Use FA icons in info box
This commit is contained in:
@@ -53,7 +53,10 @@ export default class AdvancedPage extends AdminPage {
|
|||||||
'page_not_enabled',
|
'page_not_enabled',
|
||||||
// TODO: Add link to docs page
|
// TODO: Add link to docs page
|
||||||
<p class="AdvancedPage-notEnabledWarning">
|
<p class="AdvancedPage-notEnabledWarning">
|
||||||
{app.translator.trans('core.admin.advanced.not_enabled_warning', { a: <Link external href="https://docs.flarum.org/" /> })}
|
{app.translator.trans('core.admin.advanced.not_enabled_warning', {
|
||||||
|
a: <Link external href="https://docs.flarum.org/" />,
|
||||||
|
icon: <span aria-label={app.translator.trans('core.admin.advanced.warning_icon_accessible_label')} class="fas fa-exclamation-triangle" />,
|
||||||
|
})}
|
||||||
</p>,
|
</p>,
|
||||||
110
|
110
|
||||||
);
|
);
|
||||||
@@ -62,7 +65,10 @@ export default class AdvancedPage extends AdminPage {
|
|||||||
'large_community_text',
|
'large_community_text',
|
||||||
// TODO: Add link to docs page
|
// TODO: Add link to docs page
|
||||||
<p class="AdvancedPage-congratsText">
|
<p class="AdvancedPage-congratsText">
|
||||||
{app.translator.trans('core.admin.advanced.large_community_note', { a: <Link external href="https://docs.flarum.org/" /> })}
|
{app.translator.trans('core.admin.advanced.large_community_note', {
|
||||||
|
a: <Link external href="https://docs.flarum.org/" />,
|
||||||
|
icon: <span aria-label={app.translator.trans('core.admin.advanced.info_icon_accessible_label')} class="fas fa-info-circle" />,
|
||||||
|
})}
|
||||||
</p>,
|
</p>,
|
||||||
110
|
110
|
||||||
);
|
);
|
||||||
|
@@ -20,18 +20,21 @@ core:
|
|||||||
database: Database
|
database: Database
|
||||||
sync: Sync
|
sync: Sync
|
||||||
|
|
||||||
|
info_icon_accessible_label: information symbol
|
||||||
# Shown on the page when it's meant to be enabled
|
# Shown on the page when it's meant to be enabled
|
||||||
large_community_note: |
|
large_community_note: |
|
||||||
ℹ️ This page is intended for very active communities, like yours! Great job! Modifying
|
<icon></icon> This page is intended for very active communities, like yours! Great job! Modifying
|
||||||
some of these settings may require advanced setup or create extra load for your
|
some of these settings may require advanced setup or create extra load for your
|
||||||
installation. <a>Learn more about these settings.</a>
|
installation. <a>Learn more about these settings.</a>
|
||||||
# Shown on the page when it's hidden and was directly navigated to
|
# Shown on the page when it's hidden and was directly navigated to
|
||||||
not_enabled_warning: |
|
not_enabled_warning: |
|
||||||
⚠️ This page is intended for very active communities. This page is hidden for your
|
<icon></icon> This page is intended for very active communities. This page is hidden for your
|
||||||
forum because you don't meet the recommended criteria for modifying these settings.
|
forum because you don't meet the recommended criteria for modifying these settings.
|
||||||
Doing so may require advanced setup or create extra load for your installation.
|
Doing so may require advanced setup or create extra load for your installation.
|
||||||
<a>Learn more about these settings.</a>
|
<a>Learn more about these settings.</a>
|
||||||
|
|
||||||
title: Advanced settings
|
title: Advanced settings
|
||||||
|
warning_icon_accessible_label: warning symbol
|
||||||
|
|
||||||
# These translations are used in the Appearance page.
|
# These translations are used in the Appearance page.
|
||||||
appearance:
|
appearance:
|
||||||
|
Reference in New Issue
Block a user