summaryrefslogtreecommitdiff
path: root/public/assets
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-12 07:22:40 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-12 07:22:40 +0100
commit722761b667dd97b267479c9b9fa61fdc320e60ac (patch)
tree020553d4ee9fa92ae4c7ee936c6470edcee6fa9c /public/assets
parent3af81b5dd49717e9dc646336df322d9432573ab7 (diff)
linking stuff
Diffstat (limited to 'public/assets')
-rw-r--r--public/assets/css/bucky.css5
-rw-r--r--public/assets/js/lib/views/profile/profile.js10
2 files changed, 8 insertions, 7 deletions
diff --git a/public/assets/css/bucky.css b/public/assets/css/bucky.css
index 9be7f20..b74e204 100644
--- a/public/assets/css/bucky.css
+++ b/public/assets/css/bucky.css
@@ -171,6 +171,11 @@ table, tr {
background-size: cover;
background-position: center center;
}
+#hoots .avatar a {
+ display: block;
+ width: 100%;
+ height: 100%;
+}
#hoots td:nth-child(2){
text-align: left;
padding: 5px;
diff --git a/public/assets/js/lib/views/profile/profile.js b/public/assets/js/lib/views/profile/profile.js
index 34c8fba..d8bc535 100644
--- a/public/assets/js/lib/views/profile/profile.js
+++ b/public/assets/js/lib/views/profile/profile.js
@@ -34,13 +34,9 @@ var ProfileView = View.extend({
$table.append(t)
})
- var fields = "message".split(" ").map((key) => {
- if (! user[key]) return;
- var t = this.template.replace(/{{key}}/, "&nbsp;")
- .replace(/{{value}}/, '<a href="/mail/compose/' + username + '">send ' + username + ' a message</a>')
- $table.append(t)
- })
-
+ var t = this.template.replace(/{{key}}/, "&nbsp;")
+ .replace(/{{value}}/, '<a href="/mail/compose/' + username + '">send ' + username + ' a message</a>')
+ $table.append(t)
},
})