mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 11:47:16 +02:00
feat(score): new hourly score tooltip info
This commit is contained in:
@@ -228,7 +228,11 @@
|
||||
|
||||
seedScoreTotal = Math.round(seedScoreTotal * 100) / 100;
|
||||
|
||||
var tmp = $translate.instant('CURR_SCORE_INCOME_HOURS', {score_hour: seedScoreTotal});
|
||||
var tmp = $translate.instant('CURR_SCORE_INCOME_HOURS', {
|
||||
score_hour: seedScoreTotal,
|
||||
next_level: 'L' + vm.scoreLevelData.nextLevel,
|
||||
days: Math.ceil((vm.scoreLevelData.nextLevelValue - vm.scoreLevelData.score) / (seedScoreTotal * 24))
|
||||
});
|
||||
return marked(tmp, {sanitize: false});
|
||||
};
|
||||
|
||||
|
||||
@@ -50,8 +50,8 @@
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
h5 {
|
||||
line-height: 1.5;
|
||||
.alert {
|
||||
line-height: 1.8;
|
||||
margin: 0;
|
||||
}
|
||||
li {
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<li ng-bind-html="vm.getMarkedCurrDownSpeedString()"></li>
|
||||
</ul>
|
||||
<div class="alert alert-warning">
|
||||
<h5 ng-bind-html="vm.getMarkedCurrScoreString()"></h5>
|
||||
<span ng-bind-html="vm.getMarkedCurrScoreString()"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user