fixed repost link and added send post button
This commit is contained in:
parent
60ec8a4454
commit
50e582bafc
9 changed files with 207 additions and 17 deletions
|
@ -128,6 +128,7 @@ function(HostApp, Core, Paths, URI) {
|
|||
this.profile_template.gender.parentNode.style.display = "none";
|
||||
this.profile_template.url.parentNode.parentNode.style.display = "none";
|
||||
|
||||
this.profile_template.following_button.style.display = "";
|
||||
this.setFollowingButton(false);
|
||||
|
||||
this.body.innerHTML = "";
|
||||
|
@ -137,6 +138,10 @@ function(HostApp, Core, Paths, URI) {
|
|||
|
||||
var _this = this;
|
||||
|
||||
if (HostApp.stringForKey("entity") == this.entity) {
|
||||
this.profile_template.following_button.style.display = "none";
|
||||
}
|
||||
|
||||
Paths.findProfileURL(this.entity, function(profile_url) {
|
||||
|
||||
if (profile_url) {
|
||||
|
|
|
@ -229,6 +229,10 @@ function(jQuery, Paths, URI, HostApp, Followings) {
|
|||
template.reposted_by.innerText = status.__repost.entity;
|
||||
template.reposted_by.title = status.__repost.entity;
|
||||
template.reposted_by.style.display = '';
|
||||
template.reposted_by.onclick = function(e) {
|
||||
HostApp.showProfileForEntity(status.__repost.entity);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.followings.followings[status.__repost.entity]) {
|
||||
|
||||
|
|
Reference in a new issue