diff --git a/js/theme.js b/js/theme.js index 129336f241..49dfb119d4 100644 --- a/js/theme.js +++ b/js/theme.js @@ -68,6 +68,22 @@ $(document).ready(function(){ if( $("#jot-popup").is(":hidden")) $("#topbar-second > .container > #navbar-button #jotOpen").hide(); } + // move shared content in it's own DIV (so we can style it better) + $('.wall-item-body .shared_content').each(function() { + // create a DIV after ".shared_content" where we will putt in the shared_header + // and the "shared_content" + $(this).after('
'); + // get the shared_header + var sheader = $(this).prev(); + // get the shared-content-wrapper which we have created above + var swrapper = $(this).next(); + // move the "shared_header into the new shared_content DIV + $(swrapper).append(sheader); + // move the "shared_content" into the new DIV + $(swrapper).append(this); + }); + + // show bulk deletion button at network page if checkbox is checked $('input.item-select').change(function(){ var checked = false; diff --git a/templates/search_item.tpl b/templates/search_item.tpl index 8e72eaed4f..670cabdada 100644 --- a/templates/search_item.tpl +++ b/templates/search_item.tpl @@ -226,16 +226,3 @@ - - diff --git a/templates/wall_thread.tpl b/templates/wall_thread.tpl index d41d61a16d..82e8bd742a 100644 --- a/templates/wall_thread.tpl +++ b/templates/wall_thread.tpl @@ -402,17 +402,3 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.thread_level==2 && $top_child_nr==$top_child_total}} {{/if}} - - - \ No newline at end of file