diff --git a/client/components/Reader/HistoryPage/HistoryPage.vue b/client/components/Reader/HistoryPage/HistoryPage.vue index ee7eb4b2..b49b047c 100644 --- a/client/components/Reader/HistoryPage/HistoryPage.vue +++ b/client/components/Reader/HistoryPage/HistoryPage.vue @@ -58,7 +58,7 @@ min-width="100px" > @@ -117,16 +117,19 @@ class HistoryPage extends Vue { const t = formatDate(d).split(' '); let perc = ''; + let textLen = ''; const p = (book.bookPosSeen ? book.bookPosSeen : (book.bookPos ? book.bookPos : 0)); - if (book.textLength) + if (book.textLength) { perc = ` [${((p/book.textLength)*100).toFixed(2)}%]`; + textLen = ` ${Math.round(book.textLength/1000)}k`; + } result.push({ touchDateTime: book.touchTime, touchDate: t[0], touchTime: t[1], desc: { - title: `"${book.fb2.bookTitle}"${perc}`, + title: `"${book.fb2.bookTitle}"${perc}${textLen}`, author: _.compact([ book.fb2.lastName, book.fb2.firstName, @@ -216,12 +219,6 @@ class HistoryPage extends Vue { padding: 0; } -.clickable { - color: blue; - text-decoration: underline; - cursor: pointer; -} - .desc { cursor: pointer; }