From ecfd27094cc38613e6c1f4759d7ee2aaacb4ddcb Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Sat, 2 Feb 2019 04:01:56 +0100 Subject: [PATCH 1/2] UI: Blog title in timeline more prominent --- src/scripts/js/es6/common/templates/nodes/Posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/js/es6/common/templates/nodes/Posts.js b/src/scripts/js/es6/common/templates/nodes/Posts.js index fd01bb55..8afc38f3 100644 --- a/src/scripts/js/es6/common/templates/nodes/Posts.js +++ b/src/scripts/js/es6/common/templates/nodes/Posts.js @@ -4,7 +4,7 @@ export class Posts extends NodesBase { static create$item(post) { let content = []; let $title = $('
') - .addClass('h1 text-uppercase mt-4 mb-3') + .addClass('h1 text-uppercase font-weight-bold d-block pt-5 pb-2') .text(post.name); content.push($title); let $post = $('
') From f35c2529a603124a2ad3a19da6094ac2007dfd59 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Sat, 2 Feb 2019 04:03:39 +0100 Subject: [PATCH 2/2] UI: Make blog title link to the actual blog entry --- src/scripts/js/es6/common/templates/nodes/Posts.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scripts/js/es6/common/templates/nodes/Posts.js b/src/scripts/js/es6/common/templates/nodes/Posts.js index 8afc38f3..727966d0 100644 --- a/src/scripts/js/es6/common/templates/nodes/Posts.js +++ b/src/scripts/js/es6/common/templates/nodes/Posts.js @@ -3,7 +3,9 @@ import { NodesBase } from "./NodesBase"; export class Posts extends NodesBase { static create$item(post) { let content = []; - let $title = $('
') + let $title = $('') + .attr('href', '/nodes/' + post._id + '/redir') + .attr('title', post.name) .addClass('h1 text-uppercase font-weight-bold d-block pt-5 pb-2') .text(post.name); content.push($title);