From da63ae343aa4c957b9ed9a6a0c5c371ce0db8888 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Sat, 7 May 2016 04:41:57 +0200 Subject: [PATCH] append poke and private message template --- css/style.css | 17 +++++++- js/modal.js | 6 +-- templates/comment_item.tpl | 4 +- templates/msg-header.tpl | 61 +++++++++++++++++++++++++++ templates/poke_content.tpl | 47 +++++++++++++++++++++ templates/prv_message.tpl | 86 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 215 insertions(+), 6 deletions(-) create mode 100644 templates/msg-header.tpl create mode 100644 templates/poke_content.tpl create mode 100644 templates/prv_message.tpl diff --git a/css/style.css b/css/style.css index bf279131ac..33e2157b69 100644 --- a/css/style.css +++ b/css/style.css @@ -1370,10 +1370,14 @@ blockquote.shared_content { } .comment-edit-submit-wrapper a, .comment-edit-submit-wrapper a:hover { - color: #555; padding-top: 5px !important; padding-bottom: 5px !important; } +.comment-icon-list a.icon, +.comment-icon-list a.icon:hover { + color: #555; + background-color: transparent; +} /* acpopup + textcompletion*/ .acpopup { @@ -1679,6 +1683,17 @@ ul.viewcontact_wrapper > li { padding-top: 10px; } +/* private mail */ +#prvmail-end { + clear:both; +} +/* poke */ +#poke-desc { + margin: 5px 0 30px; +} +#poke-wrapper-end { + clear: both; +} /* * Overwriting for transparency and other colors */ diff --git a/js/modal.js b/js/modal.js index a27b3d1661..888893e833 100644 --- a/js/modal.js +++ b/js/modal.js @@ -22,10 +22,10 @@ function loadModalTitle() { //$("#modal-title").empty(); // hide the first h3 child element of the modal body - $("#modal-body > h3").first().hide(); + $("#modal-body .headding").first().hide(); - // get the text of the first h3 child element - var title = $("#modal-body > h3").first().text(); + // get the text of the first element with headding class + var title = $("#modal-body .headding").first().text(); // and append it to modal title if (title!=="") { diff --git a/templates/comment_item.tpl b/templates/comment_item.tpl index 4efa45b0d0..b430ff7e61 100644 --- a/templates/comment_item.tpl +++ b/templates/comment_item.tpl @@ -71,9 +71,9 @@ {{if $preview}} {{/if}} -