summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-01-31 04:30:42 -0500
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-01-31 04:30:42 -0500
commit25ae76ebea27c341830060d9dd4ba14fc6e069ce (patch)
tree68d9d2f197eecd998effb485011f5cf46bca63f4
parent65f50e036d7cf3614fb16364891a8f0bfc4ba7a1 (diff)
Touched up profile template
-rwxr-xr-xtemplate/profile.st42
1 files changed, 29 insertions, 13 deletions
diff --git a/template/profile.st b/template/profile.st
index f2c5723..20ba72c 100755
--- a/template/profile.st
+++ b/template/profile.st
@@ -41,6 +41,7 @@
<div id="profile">
+
<h2>$nick$</h2>
$if(avatar)$
@@ -53,12 +54,31 @@
<div id="avatar" class="editable">$avatar$</div>
$endif$
- <h3>contact info</h3>
- <div id="contact" class="$if(is_home)$editable$else$linkify$endif$">$contact$</div>
- <br>
- <h3>personal info</h3>
- <div id="bio" class="$if(is_home)$editable$else$linkify$endif$">$bio$</div>
+ $if(is_home)$
+ <h3>contact info</h3>
+ <div id="contact" class="editable">$contact$</div>
+ $elseif(contact)$
+ <h3>contact info</h3>
+ <div id="contact" class="linkify">$contact$</div>
+ $else$
+ <div>No contact info</div>
+ $endif$
+
+
+ <br>
+
+ $if(is_home)$
+ <h3>biography</h3>
+ <div id="bio" class="editable">$bio$</div>
+ $elseif(contact)$
+ <h3>biography</h3>
+ <div id="bio" class="linkify">$bio$</div>
+ $else$
+ <div>No bio</div>
+ $endif$
+
+
<br>
<div id="date">
<div type="text" id="datepicker"></div></div>
@@ -69,9 +89,9 @@
<h3>&nbsp;</h3> <h3>&nbsp;</h3>
<h3>&nbsp;</h3>
<h3>&nbsp;</h3><div id="newuser">
-<h2>Welcome to dump.fm! &#x270C;</h2>
+<h2>&#x263A;&#x270C; Welcome to dump.fm &#x270C;&#x263A;</h2>
-<br>
+<br><br><br>
<h1>&#x2776; Find a cool image you want as your avatar</h1>
To get started <a href="/chat">join in</a> and post a few pictures.</h3>
@@ -86,15 +106,11 @@
$endif$
<h3>contact info</h3>
- <div id="contact" class="$if(is_home)$editable$else$linkify$endif$">
- $contact$
- </div>
+ <div id="contact" class="$if(is_home)$editable$else$linkify$endif$">$contact$</div>
<br>
<h3>personal info</h3>
- <div id="bio" class="$if(is_home)$editable$else$linkify$endif$">
- $bio$
- </div>
+ <div id="bio" class="$if(is_home)$editable$else$linkify$endif$">$bio$</div>
<br>
<h3>&nbsp;</h3></div>
<h3>&nbsp;</h3>