myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3513] branches/wf4ever/app: fixed labels and tit


From: noreply
Subject: [myexperiment-hackers] [3513] branches/wf4ever/app: fixed labels and title source
Date: Tue, 16 Apr 2013 14:08:55 +0000 (UTC)

Revision
3513
Author
dgc
Date
2013-04-16 14:08:54 +0000 (Tue, 16 Apr 2013)

Log Message

fixed labels and title source

Modified Paths

Diff

Modified: branches/wf4ever/app/helpers/application_helper.rb (3512 => 3513)


--- branches/wf4ever/app/helpers/application_helper.rb	2013-04-14 10:11:21 UTC (rev 3512)
+++ branches/wf4ever/app/helpers/application_helper.rb	2013-04-16 14:08:54 UTC (rev 3513)
@@ -1324,9 +1324,9 @@
     if user
       link_to(h(user.name), user)
     elsif opts[:label]
-      link_to(h(opts[:label]), @creator)
+      link_to(h(opts[:label]), uri)
     else
-      link_to(h(@creator), @creator)
+      link_to(h(uri), uri)
     end
   end
   

Modified: branches/wf4ever/app/views/packs/show.rhtml (3512 => 3513)


--- branches/wf4ever/app/views/packs/show.rhtml	2013-04-14 10:11:21 UTC (rev 3512)
+++ branches/wf4ever/app/views/packs/show.rhtml	2013-04-16 14:08:54 UTC (rev 3513)
@@ -24,7 +24,7 @@
 	</ul>
 <% end %>
 
-<h1 class="contribution_title">Pack: <%= contributable_name(@pack.id, 'Pack') %></h1>
+<h1 class="contribution_title">Pack: <%= h(@title) %></h1>
 
 <%= render :partial => "contributions/datetime_info", :locals => { :contributable => @pack } -%>
 

reply via email to

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