init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
var CommunityPosts = {
|
||||
getItems: function () {
|
||||
var parts = MovimUtils.urlParts();
|
||||
if (parts.params.length > 0) {
|
||||
var node = (parts.params[1] == undefined || parts.params[1] == '')
|
||||
? 'urn:xmpp:microblog:0'
|
||||
: parts.params[1];
|
||||
|
||||
CommunityPosts_ajaxGetItems(parts.params[0], node, parts.params[2]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MovimWebsocket.attach(function () {
|
||||
CommunityPosts.getItems();
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
[communityposts]
|
||||
empty_me_text = No publication yet? Write your first post to make people discover your profile
|
||||
empty_me_button = Publish my first post
|
||||
presencerequired = Private account
|
||||
presencerequired_text = Ask %s to be in your contacts to see the publications
|
||||
subscribe_presencerequired = Send an invitation request before following the contact
|
||||
subscribe_unsupported = "You can't follow the contact at the moment"
|
||||
Reference in New Issue
Block a user