Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Strapi edition to the admin footer #7704

Merged
merged 3 commits into from
Sep 3, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,18 @@
*/

import React from 'react';
import { defineMessages, FormattedMessage } from 'react-intl';
import { PropTypes } from 'prop-types';

import Wrapper from './Wrapper';
import messages from './messages.json';

defineMessages(messages);

function LeftMenuFooter({ version }) {
// PROJECT_TYPE is an env variable defined in the webpack config
// eslint-disable-next-line no-undef
const projectType = PROJECT_TYPE;

return (
<Wrapper>
<div className="poweredBy">
<FormattedMessage
id={messages.poweredBy.id}
defaultMessage={messages.poweredBy.defaultMessage}
key="poweredBy"
/>
<a key="website" href="https://strapi.io" target="_blank" rel="noopener noreferrer">
Strapi
</a>
Expand All @@ -34,6 +29,10 @@ function LeftMenuFooter({ version }) {
>
v{version}
</a>
&nbsp;
<a href="https://strapi.io" target="_blank" rel="noopener noreferrer">
— {projectType} Edition
</a>
</div>
</Wrapper>
);
Expand Down

This file was deleted.