+
+
{image}
-
- {item.name}
-
+
+ {item.name}
+
+
+ {isRepoName(item.name) ? (
+
+ {formatNumber(item.in)}
-
- {formatNumber(item.in)}
+ ) : (
+
+ {formatNumber(item.out)}
- {/*
*/}
- {/* {formatNumber(item.out)} */}
- {/*
*/}
-
+ )}
+
);
}
diff --git a/src/galaxy/windows/windowTitle.jsx b/src/galaxy/windows/windowTitle.jsx
index 6c06af6..1da3210 100644
--- a/src/galaxy/windows/windowTitle.jsx
+++ b/src/galaxy/windows/windowTitle.jsx
@@ -2,6 +2,8 @@ import React from 'react';
import resource from '../utils/resources.js';
import intl from 'react-intl-universal';
+import isRepoName from "../utils/isRepoName.js";
+
registerDataTemplates();
class windowTitle extends React.Component {
@@ -46,12 +48,13 @@ function registerDataTemplates() {
{this.props.nodeName}
- {/*
*/}
- {/* {this.props.degreeKindName} */}
- {/* */}
- {intl.getHTML("COUNT_FOR_RELATED_PROJECTS", {
- count: this.props.degreeNumber,
- })}
+ {isRepoName(this.props.nodeName)
+ ? intl.getHTML("COUNT_FOR_RELATED_DEVELOPORS", {
+ count: this.props.degreeNumber,
+ })
+ : intl.getHTML("COUNT_FOR_RELATED_PROJECTS", {
+ count: this.props.degreeNumber,
+ })}
);
}
diff --git a/src/styles/main.less b/src/styles/main.less
index c89d591..5b46638 100644
--- a/src/styles/main.less
+++ b/src/styles/main.less
@@ -8,6 +8,7 @@
body {
background-color: @background;
font-family: 'Roboto', sans-serif;
+ overflow: hidden; // avoid horizontal scroll bar triggered by node-hover-tooltip
}
#app {
@@ -149,7 +150,7 @@ h4 {
}
.in-degree {
- color: #90EE90;
+ color: #fff10cff;
cursor: pointer;
}
@@ -162,7 +163,7 @@ h4 {
}
.out-degree {
- color: #F08080;
+ color: #1189ffff;
cursor: pointer;
}
@@ -254,3 +255,23 @@ a.media {
border-bottom: 10px solid transparent;
}
}
+
+.no-pads > [class*="col-"] {
+ padding-right: 0;
+ padding-left: 0;
+}
+
+a.deco-none {
+ color: inherit;
+ text-decoration: none;
+}
+
+a.deco-none:link {
+ color: inherit;
+ text-decoration: none;
+}
+
+a.deco-none:hover {
+ color: inherit;
+ text-decoration: none;
+}