merge with branch feature/ui-for-scm2_groups

This commit is contained in:
Sebastian Sdorra
2018-08-08 14:59:39 +02:00
45 changed files with 2375 additions and 47 deletions

View File

@@ -0,0 +1,19 @@
//@flow
import React from "react";
import { translate } from "react-i18next";
import { CreateButton } from "../../../components/buttons";
type Props = {
t: string => string
};
class CreateGroupButton extends React.Component<Props> {
render() {
const { t } = this.props;
return (
<CreateButton label={t("create-group-button.label")} link="/groups/add" />
);
}
}
export default translate("groups")(CreateGroupButton);