myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2520] branches/dashboard/app/views/profiles: soc


From: noreply
Subject: [myexperiment-hackers] [2520] branches/dashboard/app/views/profiles: social links for user profile
Date: Mon, 27 Sep 2010 12:29:37 -0400 (EDT)

Revision
2520
Author
kkollara
Date
2010-09-27 12:29:36 -0400 (Mon, 27 Sep 2010)

Log Message

social links for user profile

Modified Paths

Diff

Modified: branches/dashboard/app/views/profiles/_form.rhtml (2519 => 2520)


--- branches/dashboard/app/views/profiles/_form.rhtml	2010-09-27 16:28:38 UTC (rev 2519)
+++ branches/dashboard/app/views/profiles/_form.rhtml	2010-09-27 16:29:36 UTC (rev 2520)
@@ -54,6 +54,16 @@
   <%= form.text_area :contact_details, :size => "30x4" %>
 </p>
 
+<p>
+	<b>Facebook:</b><br/>
+	<%= form.text_field :facebook%><br/><br/>
+	<b>Twitter:</b><br/>
+	<%= form.text_field :twitter%><br/><br/>
+	<b>Skype:</b><br/>
+	<%= form.text_field :skype%><br/><br/>
+	<b>LinkedIn:</b><br/>
+	<%= form.text_field :linkedin%><br/><br/>
+</p>
 <br/>
 <br/>
 

Modified: branches/dashboard/app/views/profiles/_profile.rhtml (2519 => 2520)


--- branches/dashboard/app/views/profiles/_profile.rhtml	2010-09-27 16:28:38 UTC (rev 2519)
+++ branches/dashboard/app/views/profiles/_profile.rhtml	2010-09-27 16:29:36 UTC (rev 2520)
@@ -25,6 +25,31 @@
   <%= white_list(simple_format(profile.contact_details)) %>
 <% end %>
 
+<% unless profile.facebook.nil? or profile.facebook.empty? %>
+  <p>
+  	<b>Facebook:</b>
+    <%= h profile.facebook%>
+  </p>
+<% end %>
+<% unless profile.twitter.nil? or profile.twitter.empty? %>
+  <p>
+  	<b>Twitter:</b>
+    <%= h profile.twitter %>
+  </p>
+<% end %>
+<% unless profile.skype.nil? or profile.skype.empty? %>
+  <p>
+  	<b>Skype:</b>
+    <%= h profile.skype %>
+  </p>
+<% end %>
+<% unless profile.linkedin.nil? or profile.linkedin.empty? %>
+  <p>
+  	<b>LinkedIn:</b>
+    <%= h profile.linkedin%>
+  </p>
+<% end %>
+
 <% unless profile.location.nil? or profile.location.empty? %>
   <p>
   	<b>Location:</b>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]