diff --git a/app/views/component/blockchain/account/accountDelegationsDelegated.scala.html b/app/views/component/blockchain/account/accountDelegationsDelegated.scala.html
index d6ef5362d..62fe0634f 100644
--- a/app/views/component/blockchain/account/accountDelegationsDelegated.scala.html
+++ b/app/views/component/blockchain/account/accountDelegationsDelegated.scala.html
@@ -3,6 +3,7 @@
@import scala.collection.immutable.ListMap
@import utilities.MicroNumber
@import views.html.base.cards._
+@import views.html.base.infos.commonHtmlToHtmlInfo
@(delegations: ListMap[String, MicroNumber], validatorsMoniker: Map[String, String])(implicit requestHeader: RequestHeader, messagesProvider: MessagesProvider)
@@ -11,16 +12,17 @@
@commonTable(id = "accountDelegationsDetail", tableType = "cmuk-table-divider") {
} {
- @delegations.map { case (validatorAddress, amount) =>
- @commonJavascriptLink(validatorsMoniker.getOrElse(validatorAddress, validatorAddress), JavaScript(s"""componentResource('explorerContent', jsRoutes.controllers.ComponentViewController.validator('${validatorAddress}'))"""))
- @Html(utilities.NumericOperation.formatNumber(amount))
+
+ @delegations.map { case (validatorAddress, amount) =>
+ @commonHtmlToHtmlInfo(key = commonJavascriptLink(validatorsMoniker.getOrElse(validatorAddress, validatorAddress), JavaScript(s"""componentResource('explorerContent', jsRoutes.controllers.ComponentViewController.validator('${validatorAddress}'))""")), value = Html(utilities.NumericOperation.formatNumber(amount)))
+ }
+
|
- }
}
@commonPieChart("accountDelegationsDelegatedChart", ListMap(delegations.map{case (operator, amount) => validatorsMoniker.getOrElse(operator, operator) -> amount.toDouble}.toList: _*), showLegend = true)
diff --git a/app/views/component/blockchain/account/accountWalletRewards.scala.html b/app/views/component/blockchain/account/accountWalletRewards.scala.html
index 84ac72160..3e61e0b36 100644
--- a/app/views/component/blockchain/account/accountWalletRewards.scala.html
+++ b/app/views/component/blockchain/account/accountWalletRewards.scala.html
@@ -25,10 +25,18 @@
+
+
+
+ @Messages(constants.View.VALIDATORS)
+
+ @validatorRewards.map { case (validatorAddress, amount) =>
+ @commonHtmlToHtmlInfo(key = commonJavascriptLink(validatorsMap.getOrElse(validatorAddress, validatorAddress), JavaScript(s"""componentResource('explorerContent', jsRoutes.controllers.ComponentViewController.validator('${validatorAddress}'))""")), value = Html(amount.getAmountWithNormalizedDenom()))
+ }
+
+
+ |
+
}
- @Messages(constants.View.VALIDATORS)
- @validatorRewards.map { case (validatorAddress, amount) =>
- @commonHtmlToHtmlInfo(key = commonJavascriptLink(validatorsMap.getOrElse(validatorAddress, validatorAddress), JavaScript(s"""componentResource('explorerContent', jsRoutes.controllers.ComponentViewController.validator('${validatorAddress}'))""")), value = Html(amount.getAmountWithNormalizedDenom()))
- }
\ No newline at end of file
diff --git a/public/stylesheets/css/class.css b/public/stylesheets/css/class.css
index 06fa187fd..c78a164ff 100644
--- a/public/stylesheets/css/class.css
+++ b/public/stylesheets/css/class.css
@@ -5121,7 +5121,6 @@ figure .block:hover {
#accountWallet .allTokensContainer,
#accountDelegations .delegationsDelegatedContainer {
display: flex;
- align-items: center;
}
#accountWallet .allTokensContainer .ibcDenom,
@@ -5272,4 +5271,22 @@ figure .block:hover {
.navigationBarLogo{
width: 160px !important;
+}
+
+#accountWalletRewardsDetail .tableFieldValue,
+#accountDelegationsDetail .tableFieldValue,
+#validatorDetail .tableFieldValue
+{
+ text-transform: none;
+}
+
+#accountWalletRewardsDetail .tableFieldValue .infoRowLabel,
+#accountDelegationsDetail .tableFieldValue .infoRowLabel
+{
+ padding-left: 0px;
+ text-transform: none;
+}
+
+#accountDelegationsDetail .tableFieldValue .infoRowValue{
+ white-space: nowrap;
}
\ No newline at end of file