diff --git a/src/app/shared/metric/metric-plumx/metric-plumx.component.html b/src/app/shared/metric/metric-plumx/metric-plumx.component.html
index 088361c2be4..373977a269e 100644
--- a/src/app/shared/metric/metric-plumx/metric-plumx.component.html
+++ b/src/app/shared/metric/metric-plumx/metric-plumx.component.html
@@ -1,4 +1,4 @@
-
+
+
+ {{ "item.page.metric.label." + metric.metricType | translate }}
+
diff --git a/src/app/shared/metric/pipes/metric-style-config/metric-style-config.pipe.ts b/src/app/shared/metric/pipes/metric-style-config/metric-style-config.pipe.ts
index 0ad30e0fb93..a3643d85565 100644
--- a/src/app/shared/metric/pipes/metric-style-config/metric-style-config.pipe.ts
+++ b/src/app/shared/metric/pipes/metric-style-config/metric-style-config.pipe.ts
@@ -17,7 +17,7 @@ export class MetricStyleConfigPipe implements PipeTransform {
transform(metric: Metric): unknown {
if (metric) {
- let metricClass = 'alert-warning'; // default style
+ let metricClass = 'alert alert-warning'; // default style
// check if metric has a preconfigured style
const metricTypeConfig = this.style.find((x) => isEqual(x.type, metric.metricType));
@@ -31,7 +31,6 @@ export class MetricStyleConfigPipe implements PipeTransform {
classes[metric.metricType] = true;
const classlist = {
...classes,
- alert: true,
'metric-container': true,
};
classlist[metricClass] = true;
diff --git a/src/assets/i18n/en.json5 b/src/assets/i18n/en.json5
index 766b502d657..bb97aef1227 100644
--- a/src/assets/i18n/en.json5
+++ b/src/assets/i18n/en.json5
@@ -3184,7 +3184,9 @@
"item.page.metric.details": "Details",
- "item.page.metric.label.altmetrics": "AltmetricsĀ©",
+ "item.page.metric.label.altmetric": "AltmetricsĀ©",
+
+ "item.page.metric.label.dimensions": "Dimensions",
"item.page.metric.label.check": "Check",
diff --git a/src/config/default-app-config.ts b/src/config/default-app-config.ts
index d0706bd4398..dbd2b275a1e 100644
--- a/src/config/default-app-config.ts
+++ b/src/config/default-app-config.ts
@@ -652,7 +652,7 @@ export class DefaultAppConfig implements AppConfig {
{
type: 'altmetric',
icon: null,
- class: 'alert-light',
+ class: '',
},
{
type: 'plumX',
@@ -662,22 +662,22 @@ export class DefaultAppConfig implements AppConfig {
{
type: 'dimensions',
icon: 'fa fa-cubes',
- class: 'alert-light',
+ class: '',
},
{
type: 'google-scholar',
icon: '/assets/images/google-scholar.svg',
- class: 'alert-info',
+ class: 'alert alert-info',
},
{
type: 'embedded-view',
icon: 'fa fa-eye',
- class: 'alert-success'
+ class: 'alert alert-success'
},
{
type: 'embedded-download',
icon: 'fa fa-cloud-download-alt',
- class: 'alert-danger',
+ class: 'alert alert-danger',
},
{
type: 'view',