Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
f4894b2f
Commit
f4894b2f
authored
7 years ago
by
Maz Ameli
Browse files
Options
Downloads
Patches
Plain Diff
fix translations
parent
b6388bdc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/metabase/dashboards/containers/Dashboards.jsx
+1
-0
1 addition, 0 deletions
frontend/src/metabase/dashboards/containers/Dashboards.jsx
frontend/src/metabase/dashboards/containers/DashboardsArchive.jsx
+5
-5
5 additions, 5 deletions
.../src/metabase/dashboards/containers/DashboardsArchive.jsx
with
6 additions
and
5 deletions
frontend/src/metabase/dashboards/containers/Dashboards.jsx
+
1
−
0
View file @
f4894b2f
...
...
@@ -5,6 +5,7 @@ import {connect} from "react-redux";
import
{
Link
}
from
"
react-router
"
;
import
cx
from
"
classnames
"
;
import
_
from
"
underscore
"
import
{
t
,
jt
}
from
"
c-3po
"
;
import
type
{
Dashboard
}
from
"
metabase/meta/types/Dashboard
"
;
...
...
This diff is collapsed.
Click to expand it.
frontend/src/metabase/dashboards/containers/DashboardsArchive.jsx
+
5
−
5
View file @
f4894b2f
...
...
@@ -4,6 +4,7 @@ import React, {Component} from 'react';
import
{
connect
}
from
"
react-redux
"
;
import
cx
from
"
classnames
"
;
import
_
from
"
underscore
"
import
{
t
,
jt
}
from
"
c-3po
"
;
import
type
{
Dashboard
}
from
"
metabase/meta/types/Dashboard
"
;
...
...
@@ -69,7 +70,7 @@ export class Dashboards extends Component {
const
headerWithBackContainer
=
<
div
className
=
"flex align-center pt4 pb1"
>
<
HeaderWithBack
name
=
"
Archive
"
/>
<
HeaderWithBack
name
=
{
t
`
Archive
`
}
/>
</
div
>
return
(
...
...
@@ -82,7 +83,7 @@ export class Dashboards extends Component {
{
headerWithBackContainer
}
<
div
className
=
"full flex justify-center"
style
=
{
{
marginTop
:
"
75px
"
}
}
>
<
EmptyState
message
=
{
<
span
>
No dashboards have been
<
br
/>
archived yet
</
span
>
}
message
=
{
<
span
>
{
jt
`
No dashboards have been
${
<
br
/>
}
archived yet
`
}
</
span
>
}
icon
=
"viewArchive"
/>
</
div
>
...
...
@@ -100,9 +101,8 @@ export class Dashboards extends Component {
<
EmptyState
message
=
{
<
div
className
=
"mt4"
>
<
h3
className
=
"text-grey-5"
>
No results found
</
h3
>
<
p
className
=
"text-grey-4"
>
Try adjusting your filter to find what you’re
looking for.
</
p
>
<
h3
className
=
"text-grey-5"
>
{
t
`No results found`
}
</
h3
>
<
p
className
=
"text-grey-4"
>
{
t
`Try adjusting your filter to find what you’re looking for.`
}
</
p
>
</
div
>
}
image
=
"/app/img/empty_dashboard"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment