- {description.title}
+
+
+ {description.title}
+
+
{
return (
-
{description.title}
+
+
+ {description.title}
+
+
@@ -67,22 +75,23 @@ class ChangesetDetails extends React.Component {
{this.renderTags()}
-
-
- {description.message.split("\n").map((item, key) => {
- return (
-
+
+
+ {description.message.split("\n").map((item, key) => {
+ return (
+
+
{item}
-
-
- );
- })}
-
-
+
+
+
+ );
+ })}
+
diff --git a/scm-ui/src/repos/components/list/RepositoryEntry.js b/scm-ui/src/repos/components/list/RepositoryEntry.js
index 122128db3a..28a6fe1ad3 100644
--- a/scm-ui/src/repos/components/list/RepositoryEntry.js
+++ b/scm-ui/src/repos/components/list/RepositoryEntry.js
@@ -9,16 +9,6 @@ import classNames from "classnames";
import RepositoryAvatar from "./RepositoryAvatar";
const styles = {
- overlayFullColumn: {
- position: "absolute",
- height: "calc(120px - 0.5rem)",
- width: "calc(100% - 1.5rem)"
- },
- overlayHalfColumn: {
- position: "absolute",
- height: "calc(120px - 1.5rem)",
- width: "calc(50% - 3rem)"
- },
inner: {
position: "relative",
pointerEvents: "none",
@@ -86,8 +76,8 @@ class RepositoryEntry extends React.Component
{
const repositoryLink = this.createLink(repository);
const halfColumn = fullColumnWidth ? "is-full" : "is-half";
const overlayLinkClass = fullColumnWidth
- ? classes.overlayFullColumn
- : classes.overlayHalfColumn;
+ ? "overlay-full-column"
+ : "overlay-half-column";
return (
{
{t("permission.add-permission.add-permission-heading")}
);
diff --git a/scm-ui/src/repos/sources/components/content/ButtonGroup.js b/scm-ui/src/repos/sources/components/content/ButtonGroup.js
index 5befbd94d5..055ee115a5 100644
--- a/scm-ui/src/repos/sources/components/content/ButtonGroup.js
+++ b/scm-ui/src/repos/sources/components/content/ButtonGroup.js
@@ -25,9 +25,9 @@ class ButtonGroup extends React.Component {
let historyColor = "";
if (historyIsSelected) {
- historyColor = "info is-selected";
+ historyColor = "link is-selected";
} else {
- sourcesColor = "info is-selected";
+ sourcesColor = "link is-selected";
}
const sourcesLabel = (
diff --git a/scm-ui/src/users/components/UserForm.js b/scm-ui/src/users/components/UserForm.js
index bb368666d9..69d1aaa031 100644
--- a/scm-ui/src/users/components/UserForm.js
+++ b/scm-ui/src/users/components/UserForm.js
@@ -92,14 +92,16 @@ class UserForm extends React.Component {
if (!this.props.user) {
// create new user
nameField = (
-
+
+
+
);
passwordChangeField = (
diff --git a/scm-ui/styles/scm.scss b/scm-ui/styles/scm.scss
index a5d2eda70e..7583f1ef18 100644
--- a/scm-ui/styles/scm.scss
+++ b/scm-ui/styles/scm.scss
@@ -4,6 +4,8 @@
$blue: #33b2e8;
$mint: #11dfd0;
+$info: $blue;
+
// $footer-background-color
.is-ellipsis-overflow {
@@ -100,6 +102,19 @@ $fa-font-path: "webfonts";
&:nth-child(odd) {
margin-right: 1.5rem;
}
+
+ .overlay-half-column {
+ position: absolute;
+ height: calc(120px - 1.5rem);
+ width: calc(50% - 3rem);
+ }
+ }
+ .column.is-full {
+ .overlay-full-column {
+ position: absolute;
+ height: calc(120px - 0.5rem);
+ width: calc(100% - 1.5rem);
+ }
}
@media screen and (max-width: 768px) {
.column.is-half {
@@ -108,6 +123,13 @@ $fa-font-path: "webfonts";
&:nth-child(odd) {
margin-right: 0;
}
+
+
+ .overlay-half-column{
+ position: absolute;
+ height: calc(120px - 0.5rem);
+ width: calc(100% - 1.5rem);
+ }
}
}
}
diff --git a/scm-ui/yarn.lock b/scm-ui/yarn.lock
index 3ddf27be96..5c656ab243 100644
--- a/scm-ui/yarn.lock
+++ b/scm-ui/yarn.lock
@@ -738,9 +738,10 @@
vinyl-source-stream "^2.0.0"
watchify "^3.11.0"
-"@scm-manager/ui-extensions@^0.1.1":
- version "0.1.1"
- resolved "https://registry.yarnpkg.com/@scm-manager/ui-extensions/-/ui-extensions-0.1.1.tgz#966e62d89981e92a14adf7e674e646e76de96d45"
+"@scm-manager/ui-extensions@^0.1.2":
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/@scm-manager/ui-extensions/-/ui-extensions-0.1.2.tgz#0689427ca45c8e4e045b5b9dbc89036f1d2c45fc"
+ integrity sha512-oIkXcc/VWssnK/yjWKC/Wnq5DZ01rArsz76n4X/0DT0hkGNIKmwk/Fdp7OoXiUEb7+aaPjUX1VvDqlTwCNKPmA==
dependencies:
react "^16.4.2"
react-dom "^16.4.2"
diff --git a/scm-webapp/pom.xml b/scm-webapp/pom.xml
index 01f45cb54e..59add29fc4 100644
--- a/scm-webapp/pom.xml
+++ b/scm-webapp/pom.xml
@@ -896,6 +896,11 @@
enunciate-lombok
${enunciate.version}
+
+ org.mapstruct
+ mapstruct-processor
+ ${org.mapstruct.version}
+
diff --git a/scm-webapp/src/main/java/sonia/scm/api/v2/resources/RepositoryToRepositoryDtoMapper.java b/scm-webapp/src/main/java/sonia/scm/api/v2/resources/RepositoryToRepositoryDtoMapper.java
index f15f7c4b00..19929b63ba 100644
--- a/scm-webapp/src/main/java/sonia/scm/api/v2/resources/RepositoryToRepositoryDtoMapper.java
+++ b/scm-webapp/src/main/java/sonia/scm/api/v2/resources/RepositoryToRepositoryDtoMapper.java
@@ -41,6 +41,8 @@ public abstract class RepositoryToRepositoryDtoMapper extends BaseMapper