From 9618a801b7c230265381f72b9be596a8808b3c2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 5 Nov 2010 10:49:27 +0100 Subject: [PATCH] Show Sone logo when not logged in, show avatar when logged in. --- src/main/resources/static/css/sone.css | 6 ------ src/main/resources/static/images/sone-offline.png | Bin 3003 -> 0 bytes src/main/resources/templates/include/head.html | 8 +++++++- 3 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 src/main/resources/static/images/sone-offline.png diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 9250410..5f43ae3 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -67,16 +67,10 @@ textarea { #sone #profile.online .picture { position: absolute; - background-image: url("../images/sone.png"); - width: 80px; - height: 80px; } #sone #profile.offline .picture { position: absolute; - background-image: url("../images/sone-offline.png"); - width: 80px; - height: 80px; } #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link { diff --git a/src/main/resources/static/images/sone-offline.png b/src/main/resources/static/images/sone-offline.png deleted file mode 100644 index 04fda4dc1991a67bda58f9acf58cbb7432815cbc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3003 zcmV;s3q@h?nzR*(Db<>i!A+3h!$?sI?VLog5GX8d zAmoMM5XX&)V>{RP>;t4@UGBZlweNLI)t|%{&U4Ol^!GjYygkniCw^AqxkxY2LRa)hhvADQAAIm zAPBnwR7BD%00;(yxOVLt+-^5UMn>TAc;NT@Vbqc;At3=dIXQ4TomjGD3Cw0QsUBl& zG#m~uEGa4R%Gqe%i3o!5V?0=e;;12><<}JEEWs)?c0ZC%a&2h z>x+wvUy&;$3s_%YZ?;;kmluiV6%44pOVcjLghT9653XHk(b&)OYF9 zrS!Moep{NVkUWVbB_;h-i+C+9E!eYXPh5%z07FAVXl!hxnA(>vT{=gukn|1|1i=oV zoY*&8i;|9sjVzJBzaA&GA(i6xS+XF!MS9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(a_MKdMA>ZnMn+2&eST}-R-AzuJG6JpQ z0l;(5Jx4taYObuTyr*O!E8xh;2x$iB>guAH83J{}c$9hb=4pBV)vFoE3OFz@Kw2Zl zDgxlEOp2!^8`NsGV*UE{BwNN=aUWAc@(2>{-;6|Ma|+d#_-~cFJjg# z(vc%L=hanJRf@wGP!r08Ceyi`PA3*GUW|kU*#t{DIOqH)wY9aa zn*1siN|MyX7#jtknlq7+k%28+wxF-C4{o;`_wL;zA6Q00Vqzkalapby*^ri&hWYd7 zM|(k3R#Q{cptX|fXHRzR+O+#@E)z#Is{MWCbx>&Z`?X^%j(s`U=jQu_> zE$tT(*QXpim6n#SGnq_hIp;C`Xsy8n8Dl@Is;W8`O(Uf3T1`#OIRL+k#!;NnCrMIa zwBi98Zsn?~s*V77Ct8Qo4CkExO_HRQT4!51G=KiCw6ydMlgac4&bhYq@9F0pfU@f9 zYTEY+h(z@Lz@0mHeh0u|0C9iW#2CB8IsZ*{b+ziIAfoo8xx3i4YgY;9d@tub`YR5GpGxuNmn~m#_GimX_w4Or{b5-v=-sKo)@6oO2`N550KsL9jcFu{)ge x0nYh#&iU!u+S-^MQX2j#_^&(P{56Lt`438F$8R7!^Vt9Z002ovPDHLkV1js!w4?w4 diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 19a5f38..c1ea806 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -132,7 +132,13 @@ <%/if>
-   + + <%ifnull !currentSone> + Profile Avatar + <%else> + Sone is offline + <%/if> + <%ifnull ! currentSone>
<% currentSone|store key=sone> -- 2.7.4