x x x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 24

...

HTML
<style>
.timeline-editor-container {
    background: transparent;
    border: none;
    box-shadow: none;
}

.timeline-editor-container .profile-picture {
    display: none;
}

span.microblog-tooltip {display: none !important;}

.micropost .micropost-right ul.micropost-meta li.micropost-saveDate .microblog-tooltip {
    display: block !important;
}

.micropost .micropost-right {}

.micropost .micropost-right div.micropost-content {
    margin-left: 0px;
}

.micropost .micropost-left {
    justify-content: center;
    align-items: center;
}

.aui-avatar.aui-avatar-large, .aui-avatar.aui-avatar-large .aui-avatar-inner {
    margin-top: 5px;
}
body .micropost {
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 10px;
    margin: 0px;
}

body .micropost .reply-editor {
    display: none !important;
}
#rw_wrapper.rw_background_top .rw_background_section_background1 {
    display: none;
}
</style>

Microblog Timeline
topic2
sourcetopic

HTML

<script>
function renderAndInsertMarkup(markup, containingElement) {
 var dataObj = {};
 dataObj.representation = "storage";
 dataObj.content = {};
 dataObj.content.id = AJS.params.pageId;
 dataObj.value = markup;
 
 jQuery.ajax({dataType: 'json',
  contentType: 'application/json',
  type: 'POST',
  url: '/rest/api/contentbody/convert/view',
  data: JSON.stringify(dataObj),
  success: function(response) {
   jQuery(containingElement).append(response.value);
  }
 });
}

var topic_id = getQueryVariableFromUrl("topicid"); 
topic_id = topic_id == "notfound" ? "2" : topic_id;
console.log("topic_id", topic_id)
renderAndInsertMarkup(`  <ac:structured-macro ac:macro-id="ad2a6246-f132-447c-9d41-134a863d6d38" ac:name="globaltimeline" ac:schema-version="1">
    <ac:parameter ac:name="topic">2</ac:parameter>
    <ac:parameter ac:name="source">topic</ac:parameter>
  </ac:structured-macro>`, "#chat#output-containermarkup");
</script>
<div id="chatoutput-containermarkup"> </div>