From 2fee4523fdd2c05d0b85fdfecbbd4fa26646c8aa Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 21 Apr 2016 05:13:24 +0000 Subject: [PATCH] timescale appearance improved --- src/page.h | 11 ++++------- src/templates/tx.html | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/page.h b/src/page.h index 7a9dbbe..7cc084d 100644 --- a/src/page.h +++ b/src/page.h @@ -654,17 +654,14 @@ namespace xmreg { // get mixins in time scale for visual representation pair mixin_times_scale = xmreg::timestamps_time_scale( mixin_timestamps, - server_timestamp, 160); + server_timestamp, 165); // add beginning and end to the mixin_times_scale - string timescale_str = string("|") - + mixin_times_scale.first - + string(">"); - - timescale_scale = mixin_times_scale.second ; + string timescale_str = mixin_times_scale.first; // save the string timescales for later to show - mixins_timescales.push_back(mstch::map {{"timescale", timescale_str}}); + mixins_timescales.push_back(mstch::map { + {"timescale", mixin_times_scale.first}}); } context["server_time"] = server_time_str; diff --git a/src/templates/tx.html b/src/templates/tx.html index 9f83416..13f06d3 100644 --- a/src/templates/tx.html +++ b/src/templates/tx.html @@ -55,7 +55,7 @@
    {{#timescales}} -
  • {{timescale}}
  • +
  • |{{timescale}}|
  • {{/timescales}}