Revisions
-
dlikhten revised this gist
May 22, 2010 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,13 @@ <% suffix = [ '_triple', '_dual', '' ] %> <ul class="profile_info<%= yield :suffix %>"> <li><%= link_to(fb_name(owner, :use_you => false, :linked => false), owner) %></li> <% if local_assigns.include?(:phone) %> <li class="phone"><%= phone %></li> <% suffix.pop %> <%end%> <% if local_assigns.include?(:location) %> <li><%= location %></li> <% suffix.pop %> <%end%> </ul> <% content_for :suffix {suffix.pop} %> -
dlikhten revised this gist
May 22, 2010 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,13 @@ <% suffix = [ '', '_dual', '_triple' ] %> <ul class="profile_info<%= yield :suffix %>"> <li><%= link_to(fb_name(owner, :use_you => false, :linked => false), owner) %></li> <% if local_assigns.include?(:phone) %> <li class="phone"><%= phone %></li> <% suffix.shift %> <%end%> <% if local_assigns.include?(:location) %> <li><%= location %></li> <% suffix.shift %> <%end%> </ul> <% content_for :suffix {suffix.shift} %> -
workmad3 renamed this gist
May 22, 2010 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
workmad3 revised this gist
May 22, 2010 . 1 changed file with 1 addition and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,8 +10,4 @@ <% mode += 1 %> <%end%> </ul> <% content_for :suffix {[ '', '_dual', '_triple' ][ mode ] } %> -
workmad3 revised this gist
May 22, 2010 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,8 @@ <% mode += 1 %> <%end%> </ul> <% content_for :suffix do [ '', '_dual', '_triple' ][ mode ] end %> -
workmad3 renamed this gist
May 22, 2010 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
workmad3 revised this gist
May 22, 2010 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,15 @@ <% mode = 0 %> <ul class="profile_info<%= yield :suffix %>"> <li><%= link_to(fb_name(owner, :use_you => false, :linked => false), owner) %></li> <% if local_assigns.include?(:phone) %> <li class="phone"><%= phone %></li> <% mode += 1 %> <%end%> <% if local_assigns.include?(:location) %> <li><%= location %></li> <% mode += 1 %> <%end%> </ul> content_for :suffix do [ '', '_dual', '_triple' ][ mode ] end -
workmad3 revised this gist
May 22, 2010 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ <ul class="profile_info<%= yield :suffix %>"> <li><%= link_to(fb_name(owner, :use_you => false, :linked => false), owner) %></li> <% if local_assigns.include?(:phone) %> <li class="phone"><%= phone %></li> @@ -7,3 +7,9 @@ <li><%= location %></li> <%end%> </ul> content_for :suffix do mode = 0 mode += 1 if local_assigns.include?(:phone) mode += 1 if local_assigns.include?(:location) [ '', '_dual', '_triple' ][ mode ] end -
workmad3 created this gist
May 22, 2010 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ <ul class="profile_info"> <li><%= link_to(fb_name(owner, :use_you => false, :linked => false), owner) %></li> <% if local_assigns.include?(:phone) %> <li class="phone"><%= phone %></li> <%end%> <% if local_assigns.include?(:location) %> <li><%= location %></li> <%end%> </ul>