mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 01:15:44 +01:00
add extension point
This commit is contained in:
@@ -3,6 +3,7 @@ import React from "react";
|
|||||||
import type { Changeset } from "@scm-manager/ui-types";
|
import type { Changeset } from "@scm-manager/ui-types";
|
||||||
import { translate } from "react-i18next";
|
import { translate } from "react-i18next";
|
||||||
import { MailLink, DateFromNow } from "@scm-manager/ui-components";
|
import { MailLink, DateFromNow } from "@scm-manager/ui-components";
|
||||||
|
import ChangesetAvatar from "./ChangesetAvatar";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
changeset: Changeset,
|
changeset: Changeset,
|
||||||
@@ -13,6 +14,10 @@ class ChangesetDetails extends React.Component<Props> {
|
|||||||
render() {
|
render() {
|
||||||
const { changeset, t } = this.props;
|
const { changeset, t } = this.props;
|
||||||
return (
|
return (
|
||||||
|
<div>
|
||||||
|
<figure className="media-left">
|
||||||
|
<ChangesetAvatar changeset={changeset} />
|
||||||
|
</figure>
|
||||||
<table className="table">
|
<table className="table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -41,6 +46,7 @@ class ChangesetDetails extends React.Component<Props> {
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ import { getFailure } from "../../modules/failure";
|
|||||||
import { combineReducers } from "redux";
|
import { combineReducers } from "redux";
|
||||||
import type { Action, PagedCollection } from "@scm-manager/ui-types";
|
import type { Action, PagedCollection } from "@scm-manager/ui-types";
|
||||||
import * as types from "../../modules/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 = "scm/repos/FETCH_CHANGESETS";
|
||||||
export const FETCH_CHANGESETS_PENDING = `${FETCH_CHANGESETS}_${PENDING_SUFFIX}`;
|
export const FETCH_CHANGESETS_PENDING = `${FETCH_CHANGESETS}_${PENDING_SUFFIX}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user