mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 03:42:41 +08:00
DEV: Add new admin UI header to site texts page (#30689)
This adds the new admin UI header to the site texts page.
This commit is contained in:
parent
8719235cfd
commit
4a78999b6f
|
@ -1,6 +1,4 @@
|
|||
<div class="search-area">
|
||||
<p>{{i18n "admin.site_text.description"}}</p>
|
||||
|
||||
<TextField
|
||||
@value={{this.q}}
|
||||
@placeholderKey="admin.site_text.search"
|
||||
|
|
|
@ -1,3 +1,17 @@
|
|||
<DPageHeader
|
||||
@titleLabel={{i18n "admin.site_text.title"}}
|
||||
@descriptionLabel={{i18n "admin.site_text.description"}}
|
||||
@hideTabs={{true}}
|
||||
>
|
||||
<:breadcrumbs>
|
||||
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} />
|
||||
<DBreadcrumbsItem
|
||||
@path="/admin/customize/site_texts"
|
||||
@label={{i18n "admin.site_text.title"}}
|
||||
/>
|
||||
</:breadcrumbs>
|
||||
</DPageHeader>
|
||||
|
||||
<div class="row site-texts">
|
||||
{{outlet}}
|
||||
</div>
|
|
@ -72,6 +72,7 @@
|
|||
}
|
||||
|
||||
.admin-customize {
|
||||
/* TODO: Remove when admin header has been added to all /customize pages */
|
||||
h1 {
|
||||
margin-bottom: 10px;
|
||||
input {
|
||||
|
@ -81,6 +82,9 @@
|
|||
font-size: var(--font-down-2);
|
||||
}
|
||||
}
|
||||
&.d-page-header__title {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.field-error,
|
||||
|
|
|
@ -7149,10 +7149,10 @@ en:
|
|||
multiselect: "Multiselect"
|
||||
|
||||
site_text:
|
||||
description: "You can customize any of the text on your forum. Please start by searching below:"
|
||||
description: "You can customize any of the text on your forum."
|
||||
search: "Search for the text you'd like to edit"
|
||||
title: "Text"
|
||||
edit: "edit"
|
||||
title: "Site texts"
|
||||
edit: "Edit"
|
||||
revert: "Revert Changes"
|
||||
revert_confirm: "Are you sure you want to revert your changes?"
|
||||
go_back: "Back to Search"
|
||||
|
@ -7476,7 +7476,7 @@ en:
|
|||
|
||||
reseed:
|
||||
action:
|
||||
label: "Replace Text…"
|
||||
label: "Replace text …"
|
||||
title: "Replace text of categories and topics with translations"
|
||||
|
||||
modal:
|
||||
|
|
Loading…
Reference in New Issue
Block a user