mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 22:15:45 +01:00
add extension point to the content ui
This commit is contained in:
@@ -11,6 +11,7 @@ import SourcesView from "./SourcesView";
|
|||||||
import HistoryView from "./HistoryView";
|
import HistoryView from "./HistoryView";
|
||||||
import { getSources } from "../modules/sources";
|
import { getSources } from "../modules/sources";
|
||||||
import { connect } from "react-redux";
|
import { connect } from "react-redux";
|
||||||
|
import {ExtensionPoint} from "@scm-manager/ui-extensions";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
loading: boolean,
|
loading: boolean,
|
||||||
@@ -148,6 +149,11 @@ class Content extends React.Component<Props, State> {
|
|||||||
<td>{t("sources.content.description")}</td>
|
<td>{t("sources.content.description")}</td>
|
||||||
<td className="is-word-break">{description}</td>
|
<td className="is-word-break">{description}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<ExtensionPoint
|
||||||
|
name="repos.content.metadata"
|
||||||
|
props={{ file }}
|
||||||
|
>
|
||||||
|
</ExtensionPoint>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user