Merge branch 'master' into dillo
This commit is contained in:
commit
f0031d44b2
@ -3,8 +3,10 @@ import { NodesBase } from "./NodesBase";
|
|||||||
export class Posts extends NodesBase {
|
export class Posts extends NodesBase {
|
||||||
static create$item(post) {
|
static create$item(post) {
|
||||||
let content = [];
|
let content = [];
|
||||||
let $title = $('<div>')
|
let $title = $('<a>')
|
||||||
.addClass('h1 text-uppercase mt-4 mb-3')
|
.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);
|
.text(post.name);
|
||||||
content.push($title);
|
content.push($title);
|
||||||
let $post = $('<div>')
|
let $post = $('<div>')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user