Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
d6fd8e45
Unverified
Commit
d6fd8e45
authored
Oct 22, 2020
by
Alex Khomenko
Committed by
GitHub
Oct 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plugin page: update readme icon (#28465)
* Update readme icon * Use file icon
parent
10c01e0e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
public/app/features/plugins/PluginPage.tsx
+4
-6
No files found.
public/app/features/plugins/PluginPage.tsx
View file @
d6fd8e45
...
...
@@ -253,7 +253,7 @@ class PluginPage extends PureComponent<Props, State> {
<
h4
>
Dependencies
</
h4
>
<
ul
className=
"ui-list plugin-info-list"
>
<
li
className=
"plugin-info-list-item"
>
<
img
src=
"public/img/grafana_icon.svg"
/>
<
img
src=
"public/img/grafana_icon.svg"
alt=
"Grafana logo"
/>
Grafana
{
dependencies
.
grafanaVersion
}
</
li
>
{
dependencies
.
plugins
&&
...
...
@@ -345,17 +345,15 @@ function getPluginTabsNav(
let
defaultPage
:
string
|
undefined
;
const
pages
:
NavModelItem
[]
=
[];
if
(
true
)
{
pages
.
push
({
text
:
'Readme'
,
icon
:
'fa fa-fw fa-file-text-o
'
,
icon
:
'file-alt
'
,
url
:
`
${
appSubUrl
}${
path
}
?page=
${
PAGE_ID_README
}
`
,
id
:
PAGE_ID_README
,
});
}
// We allow non admins to see plugins but only their readme. Config is hidden
even though the API needs to be
// public for plugins to work properly.
// We allow non admins to see plugins but only their readme. Config is hidden
//
even though the API needs to be
public for plugins to work properly.
if
(
isAdmin
)
{
// Only show Config/Pages for app
if
(
meta
.
type
===
PluginType
.
app
)
{
...
...
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