add extension point

This commit is contained in:
Maren Süwer
2018-09-25 15:38:59 +02:00
parent 9ee7fc7499
commit 24589556c7
2 changed files with 34 additions and 29 deletions

View File

@@ -3,6 +3,7 @@ import React from "react";
import type { Changeset } from "@scm-manager/ui-types";
import { translate } from "react-i18next";
import { MailLink, DateFromNow } from "@scm-manager/ui-components";
import ChangesetAvatar from "./ChangesetAvatar";
type Props = {
changeset: Changeset,
@@ -13,6 +14,10 @@ class ChangesetDetails extends React.Component<Props> {
render() {
const { changeset, t } = this.props;
return (
<div>
<figure className="media-left">
<ChangesetAvatar changeset={changeset} />
</figure>
<table className="table">
<tbody>
<tr>
@@ -41,6 +46,7 @@ class ChangesetDetails extends React.Component<Props> {
</tr>
</tbody>
</table>
</div>
);
}
}

View File

@@ -11,7 +11,6 @@ import { getFailure } from "../../modules/failure";
import { combineReducers } from "redux";
import type { Action, PagedCollection } from "@scm-manager/ui-types";
import * as types from "../../modules/types";
import { CREATE_USER_RESET } from "../../users/modules/users";
export const FETCH_CHANGESETS = "scm/repos/FETCH_CHANGESETS";
export const FETCH_CHANGESETS_PENDING = `${FETCH_CHANGESETS}_${PENDING_SUFFIX}`;