X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=f4eddf857501a7077788bac3a2cc51391537c013;hb=b3eb759b6a367abdcd85b7ea11392c9e22e5e169;hp=797e7a90bdcfdc06f9d34f18519a628e1c1280f6;hpb=68f8e5e5c34fad6086af0c82d1dde64f67814297;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 797e7a9..f4eddf8 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -1,4 +1,4 @@ -
+
<% formPassword|html>
@@ -8,7 +8,7 @@ @@ -24,7 +24,7 @@ @@ -34,7 +34,7 @@ $(document).ready(function() { $("#sone .post").each(function() { postId = $(this).attr("id"); - enhanceDeletePostButton("#sone .post#" + postId + " > .status-line .delete button", postId); + enhanceDeletePostButton("#sone .post#" + postId + " > .inner-part > .status-line .delete button", postId); (function(postId) { $("#sone .post#" + postId + " .reply").each(function() { replyId = $(this).attr("id"); @@ -50,6 +50,31 @@ + +
+ <%if !webInterface.core.identityManager.connected> +
+ <%= Warning.PluginNotConnected.Text|l10n|html|replace needle="{link}" replacement=""|replace needle="{/link}" replacement=""> +
+ <%/if> +
-   + + <%ifnull !currentSone> + Profile Avatar + <%else> + Sone is offline + <%/if> + <%ifnull ! currentSone>
<% currentSone|store key=sone>