Commit 4405b986 authored by Matija Obreza's avatar Matija Obreza

Markdown is in ui/common

parent b02335cd
......@@ -6,7 +6,7 @@ import Dataset from 'model/catalog/Dataset';
import Card, { CardHeader, CardContent } from 'ui/common/Card';
import { Link } from 'react-router-dom';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
import { PartnerLink } from 'ui/catalog/Links';
import { Properties, PropertiesItem } from 'ui/common/Properties';
import CropChips from 'crop/ui/c/CropChips';
......
......@@ -15,7 +15,7 @@ import { PublishState } from 'model/common.model';
import confirm from 'utilities/confirmAlert';
import Authorize from 'ui/common/authorized/Authorize';
import Section from 'ui/common/layout/Section';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
import PrettyDate from 'ui/common/time/PrettyDate';
import { DescriptorLink, ExternalLink, PartnerLink } from 'ui/catalog/Links';
......
......@@ -7,7 +7,7 @@ import { saveDataset } from 'datasets/actions/editor';
import { DATASET_BASIC_INFO_FORM } from 'datasets/constants';
import { TextField } from 'ui/common/text-field';
import { MarkdownField } from 'ui/catalog/markdown';
import { MarkdownField } from 'ui/common/markdown';
import SelectPartner from 'partners/ui/c/SelectPartner';
import CropSelector from 'crop/ui/c/CropSelector';
......
......@@ -6,7 +6,7 @@ import { DescriptorListLink, ExternalLink } from 'ui/catalog/Links';
import { Properties, PropertiesItem } from 'ui/common/Properties';
import Card, { CardHeader, CardContent } from 'ui/common/Card';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
import CropChips from 'crop/ui/c/CropChips';
const DescriptorListCard = ({ descriptorList, className, t }: { descriptorList: DescriptorList, className: string, t: any }) => {
......
......@@ -9,7 +9,7 @@ import { log } from 'utilities/debug';
import { fixDate } from 'utilities';
import Authorize from 'ui/common/authorized/Authorize';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
import DescriptorCard from 'descriptors/ui/c/DescriptorCard';
import { PartnerLink, DescriptorLink, ExternalLink } from 'ui/catalog/Links';
import { Properties, PropertiesItem } from 'ui/common/Properties';
......
......@@ -4,7 +4,7 @@ import { translate } from 'react-i18next';
import { DESCRIPTORLIST_FORM } from 'descriptors/constants';
import { TextField } from 'ui/common/text-field';
import { MarkdownField } from 'ui/catalog/markdown';
import { MarkdownField } from 'ui/common/markdown';
import Authorize from 'ui/common/authorized/Authorize';
import SelectPartner from 'partners/ui/c/SelectPartner';
import Validators from 'utilities/Validators';
......
......@@ -16,7 +16,7 @@ import confirm from 'utilities/confirmAlert';
import Authorize from 'ui/common/authorized/Authorize';
import Loading from 'ui/common/Loading';
import Section from 'ui/common/layout/Section';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
import ContentHeaderWithButton from 'ui/common/heading/ContentHeaderWithButton';
import PrettyDate from 'ui/common/time/PrettyDate';
import { ScrollToTopOnMount } from 'ui/common/page/scrollers';
......
......@@ -2,7 +2,7 @@ import * as React from 'react';
import { withStyles } from '@material-ui/core/styles';
import Card, { CardHeader, CardContent, CardActions } from 'ui/common/Card';
import Grid from '@material-ui/core/Grid';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
import Button from '@material-ui/core/Button';
import { translate } from 'react-i18next';
......
......@@ -13,7 +13,7 @@ import Input from '@material-ui/core/Input';
import TextField from '@material-ui/core/TextField';
import FormControl from 'ui/common/forms/FormControl';
import Select from '@material-ui/core/Select';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
interface ISelectDescriptorListInternal extends React.ClassAttributes<any> {
input: any;
......
......@@ -9,7 +9,7 @@ import { VOCABULARY_FORM } from 'vocabulary/constants';
import VocabularyTerm from 'model/vocabulary/VocabularyTerm';
import { TextField } from 'ui/common/text-field';
import { MarkdownField } from 'ui/catalog/markdown';
import { MarkdownField } from 'ui/common/markdown';
import Heading from 'ui/common/heading';
import ItemsEditor from 'ui/common/ItemsEditor';
......
......@@ -12,7 +12,7 @@ import VocabularyTerm from 'model/vocabulary/VocabularyTerm';
import Validators from 'utilities/Validators';
import { TextField } from 'ui/common/text-field';
import { MarkdownField } from 'ui/catalog/markdown';
import { MarkdownField } from 'ui/common/markdown';
import Heading from 'ui/common/heading';
import SelectPartner from 'partners/ui/c/SelectPartner';
import SelectVocabulary from './SelectVocabulary';
......
......@@ -10,7 +10,7 @@ import Partner from 'model/genesys/Partner';
import confirm from 'utilities/confirmAlert';
import Loading from 'ui/common/Loading';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
import { ExternalLink, FaoWiewsLink } from 'ui/catalog/Links';
import { Properties, PropertiesItem } from 'ui/common/Properties';
......
......@@ -5,7 +5,7 @@ import Card, { CardHeader, CardContent } from 'ui/common/Card';
import { PartnerLink } from 'ui/catalog/Links';
import Partner from 'model/genesys/Partner';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
import PrettyDate from 'ui/common/time/PrettyDate';
// import { Properties, PropertiesItem } from 'ui/catalog/Properties';
......
......@@ -9,7 +9,7 @@ import Validators from 'utilities/Validators';
import { TextField } from 'ui/common/text-field';
import Heading from 'ui/common/heading';
import { MarkdownField } from 'ui/catalog/markdown';
import { MarkdownField } from 'ui/common/markdown';
import ItemsEditor from 'ui/common/ItemsEditor';
import { Field, reduxForm } from 'redux-form';
......
......@@ -5,7 +5,7 @@ import { translate } from 'react-i18next';
import { TableCell, TableRow } from 'ui/common/tables';
import PrettyDate from 'ui/common/time/PrettyDate';
import Permissions from 'ui/common/permission/Permissions';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
// model
import { PublishState } from 'model/common.model';
......
......@@ -11,7 +11,7 @@ import Page from 'model/Page';
import confirm from 'utilities/confirmAlert';
import Loading from 'ui/common/Loading';
import Section from 'ui/common/layout/Section';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
import ContentHeaderWithButton from 'ui/common/heading/ContentHeaderWithButton';
import { Table, TableRow, TableCell } from 'ui/common/tables';
import { VocabularyLink } from 'ui/catalog/Links';
......
......@@ -4,7 +4,7 @@ import { Link } from 'react-router-dom';
import Card, { CardHeader, CardContent, CardActions } from 'ui/common/Card';
import Vocabulary from 'model/vocabulary/Vocabulary';
import Markdown from 'ui/catalog/markdown';
import Markdown from 'ui/common/markdown';
import Button from '@material-ui/core/Button';
const VocabularyCard = ({ vocabulary, className = '', textRows = 2, t }: { vocabulary: Vocabulary, className?: string, textRows?: number, t: any }) => vocabulary && (
......
......@@ -10,7 +10,7 @@ import { VOCABULARY_FORM } from 'vocabulary/constants';
import VocabularyTerm from 'model/vocabulary/VocabularyTerm';
import { TextField } from 'ui/common/text-field';
import { MarkdownField } from 'ui/catalog/markdown';
import { MarkdownField } from 'ui/common/markdown';
import Heading from 'ui/common/heading';
import Validators from 'utilities/Validators';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment