From a0f50ddaa736030e0d7f3b20844d916ee2dd3024 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 27 Sep 2016 15:43:23 -0300 Subject: [PATCH 1/2] Tone down text --- app/assets/stylesheets/common/base/_topic-list.scss | 3 ++- config/locales/client.en.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index 2759be46200..0fda6b0163a 100644 --- a/app/assets/stylesheets/common/base/_topic-list.scss +++ b/app/assets/stylesheets/common/base/_topic-list.scss @@ -52,7 +52,8 @@ html.anon .topic-list a.title:visited:not(.badge-notification) {color: dark-ligh td span { background-color: $secondary; color: scale-color($danger, $lightness: 60%); - padding: 0px 10px; + padding: 0px 8px; + font-size: 0.929em; } } diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index b2797aba7ed..d7d843602b3 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -1224,7 +1224,7 @@ en: current_user: 'go to your user page' topics: - new_messages_marker: "Last Visit" + new_messages_marker: "last visit" bulk: unlist_topics: "Unlist Topics" reset_read: "Reset Read" From 2ce8845c899930a9553385f542df0fc6cc0ab69d Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 27 Sep 2016 16:24:23 -0300 Subject: [PATCH 2/2] Enable last visit line on mobile --- .../discourse/templates/mobile/discovery/topics.hbs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs b/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs index e8dc723c50f..0fb3cb216dd 100644 --- a/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs +++ b/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs @@ -14,9 +14,12 @@ {{#if hasTopics}} {{topic-list + highlightLastVisited=true showPosters=true currentUser=currentUser hideCategory=model.hideCategory + order=order + ascending=ascending topics=model.topics expandGloballyPinned=expandGloballyPinned expandAllPinned=expandAllPinned