diff --git a/src/components/settings/VersionCard.js b/src/components/settings/VersionCard.js index 666f059..b2530fc 100644 --- a/src/components/settings/VersionCard.js +++ b/src/components/settings/VersionCard.js @@ -8,28 +8,58 @@ * This file is copyright under the latest version of the EUPL. * Please see LICENSE file for your rights under this license. */ -import React from 'react'; -import { translate } from 'react-i18next'; -import PropTypes from 'prop-types'; +import React, { Component } from "react"; +import { translate } from "react-i18next"; +import PropTypes from "prop-types"; +import { Collapse } from "reactstrap"; -const VersionCard = props => ( -
+ {t("Version")}: {this.props.branch === "master" ? this.props.tag : "vDev"} +
+ +| {t("Branch")} | +{this.props.branch} | +
| {t("Tag")} | +{this.props.tag} | +
| {t("Hash")} | +{this.props.hash} | +
--
- {props.t("Branch")}: {props.branch}
- {props.t("Hash")}: {props.hash}
- {props.t("Tag")}: {props.tag}
-