Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
8d694f77
Commit
8d694f77
authored
Sep 16, 2022
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: remove language beta badge
parent
bdfa9f7a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
10 deletions
+1
-10
ResourcesDialog.tsx
web/src/components/ResourcesDialog.tsx
+0
-1
PreferencesSection.tsx
web/src/components/Settings/PreferencesSection.tsx
+1
-5
resources-dialog.less
web/src/less/resources-dialog.less
+0
-4
No files found.
web/src/components/ResourcesDialog.tsx
View file @
8d694f77
...
...
@@ -127,7 +127,6 @@ const ResourcesDialog: React.FC<Props> = (props: Props) => {
</
button
>
</
div
>
<
div
className=
"dialog-content-container"
>
<
div
className=
"tip-text-container"
>
(👨💻WIP)
{
t
(
"resources.description"
)
}
</
div
>
<
div
className=
"upload-resource-container"
onClick=
{
()
=>
handleUploadFileBtnClick
()
}
>
<
div
className=
"upload-resource-btn"
>
<
Icon
.
File
className=
"icon-img"
/>
...
...
web/src/components/Settings/PreferencesSection.tsx
View file @
8d694f77
...
...
@@ -3,7 +3,6 @@ import { useAppSelector } from "../../store";
import
{
VISIBILITY_SELECTOR_ITEMS
}
from
"../../helpers/consts"
;
import
useI18n
from
"../../hooks/useI18n"
;
import
Selector
from
"../common/Selector"
;
import
BetaBadge
from
"../BetaBadge"
;
import
"../../less/settings/preferences-section.less"
;
const
localeSelectorItems
=
[
...
...
@@ -53,10 +52,7 @@ const PreferencesSection = () => {
<
div
className=
"section-container preferences-section-container"
>
<
p
className=
"title-text"
>
{
t
(
"common.basic"
)
}
</
p
>
<
label
className=
"form-label selector"
>
<
span
className=
"normal-text"
>
{
t
(
"common.language"
)
}
<
BetaBadge
className=
"ml-2"
/>
</
span
>
<
span
className=
"normal-text"
>
{
t
(
"common.language"
)
}
</
span
>
<
Selector
className=
"ml-2 w-32"
value=
{
setting
.
locale
}
dataSource=
{
localeSelectorItems
}
handleValueChanged=
{
handleLocaleChanged
}
/>
</
label
>
<
p
className=
"title-text"
>
{
t
(
"setting.preference"
)
}
</
p
>
...
...
web/src/less/resources-dialog.less
View file @
8d694f77
...
...
@@ -9,10 +9,6 @@
> .dialog-content-container {
@apply flex flex-col justify-start items-start w-full;
> .tip-text-container {
@apply w-full flex flex-row justify-start items-start border border-yellow-600 rounded px-2 py-1 mb-2 text-yellow-600 bg-yellow-50 text-sm;
}
> .upload-resource-container {
@apply mt-2 mb-4 py-8 cursor-pointer w-full rounded flex flex-row justify-center items-center bg-blue-50 border border-blue-600 hover:opacity-80;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment